public interface TunnelConfig
Modifier and Type | Method and Description |
---|---|
int |
getDelay()
Get the UDP packet round trip delay in ms for a tunnel configuration.
|
java.lang.String |
getHost()
Get the IP address or hostname of the tunnel server.
|
java.lang.String |
getHost2()
Get the IP address or hostname of the second tunnel server when using dual
tunnel client.
|
int |
getPort()
Get the TLS port of the tunnel server.
|
int |
getPort2()
Get the TLS port of the second tunnel server when using dual tunnel client.
|
int |
getRemoteUdpMirrorPort()
Get the remote port on the tunnel server side used to test UDP reachability.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
void |
setDelay(int delay)
Set the UDP packet round trip delay in ms for a tunnel configuration.
|
void |
setHost(java.lang.String host)
Set the IP address or hostname of the tunnel server.
|
void |
setHost2(java.lang.String host)
Set the IP address or hostname of the second tunnel server when using dual
tunnel client.
|
void |
setPort(int port)
Set tls port of server.
|
void |
setPort2(int port)
Set tls port of the second server when using dual tunnel client.
|
void |
setRemoteUdpMirrorPort(int remoteUdpMirrorPort)
Set the remote port on the tunnel server side used to test UDP reachability.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
int getDelay()
void setDelay(int delay)
java.lang.String getHost()
void setHost(java.lang.String host)
java.lang.String getHost2()
void setHost2(java.lang.String host)
int getPort()
void setPort(int port)
int getPort2()
void setPort2(int port)
int getRemoteUdpMirrorPort()
void setRemoteUdpMirrorPort(int remoteUdpMirrorPort)
void setUserData(java.lang.Object data)
java.lang.Object getUserData()