public class TunnelClient extends Object
| 构造器和说明 |
|---|
TunnelClient() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2023. All rights reserved.