Modifier and Type | Field and Description |
---|---|
static Role |
ROLE
Role that's willing to open a socket to arbitrary node nad forward that to the other side.
|
Constructor and Description |
---|
ForwarderFactory() |
Modifier and Type | Method and Description |
---|---|
static Forwarder |
create(String remoteHost,
int remotePort) |
static Forwarder |
create(VirtualChannel channel,
String remoteHost,
int remotePort)
Creates a connector on the remote side that connects to the speicied host and port.
|
public static final Role ROLE
public static Forwarder create(VirtualChannel channel, String remoteHost, int remotePort) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2015. All rights reserved.