public class TunnelClient extends Object
| Constructor and Description |
|---|
TunnelClient() |
| Modifier and Type | Method and Description |
|---|---|
io.netty.channel.ChannelFuture |
connect(boolean reconnect) |
String |
getAppName() |
String |
getId() |
int |
getReconnectDelay() |
String |
getTunnelServerUrl() |
String |
getVersion() |
boolean |
isConnected() |
void |
setAppName(String appName) |
void |
setConnected(boolean connected) |
void |
setId(String id) |
void |
setReconnectDelay(int reconnectDelay) |
void |
setTunnelServerUrl(String tunnelServerUrl) |
void |
setVersion(String version) |
io.netty.channel.ChannelFuture |
start() |
void |
stop() |
public io.netty.channel.ChannelFuture start()
throws IOException,
InterruptedException,
URISyntaxException
public io.netty.channel.ChannelFuture connect(boolean reconnect)
throws SSLException,
URISyntaxException,
InterruptedException
public void stop()
public String getTunnelServerUrl()
public void setTunnelServerUrl(String tunnelServerUrl)
public int getReconnectDelay()
public void setReconnectDelay(int reconnectDelay)
public String getId()
public void setId(String id)
public String getVersion()
public void setVersion(String version)
public String getAppName()
public void setAppName(String appName)
public boolean isConnected()
public void setConnected(boolean connected)
Copyright © 2021. All rights reserved.