public interface TunnelConfig
Modifier and Type | Method and Description |
---|---|
int |
getDelay()
Get the maximum amount of time for waiting for UDP packets to come back during
the UDP connectivity check, in milliseconds.
|
String |
getHost()
Get the hostname of the tunnel server
|
int |
getPort()
Get the port where to connect.
|
int |
getRemoteUdpMirrorPort()
Get the remote udp mirror port, which is used to check udp connectivity of the network.
|
void |
setDelay(int delay)
Set the maximum amount of time for waiting for UDP packets to come back during
the UDP connectivity check, in milliseconds.
|
void |
setHost(String host)
Set the hostname (or ip address) of the tunnel server.
|
void |
setPort(int port)
Set the port where to connect to the tunnel server.
|
void |
setRemoteUdpMirrorPort(int remoteUdpMirrorPort)
Set the udp mirror port, which is used to check udp connectivity.
|
String getHost()
void setHost(String host)
host
- int getPort()
void setPort(int port)
port
- int getRemoteUdpMirrorPort()
void setRemoteUdpMirrorPort(int remoteUdpMirrorPort)
remoteUdpMirrorPort
- int getDelay()
void setDelay(int delay)