类 TunnelClient
- java.lang.Object
-
- com.alibaba.arthas.tunnel.client.TunnelClient
-
public class TunnelClient extends Object
- 作者:
- hengyunabc 2019-08-28
-
-
构造器概要
构造器 构造器 说明 TunnelClient()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 io.netty.channel.ChannelFutureconnect(boolean reconnect)StringgetAppName()StringgetId()intgetReconnectDelay()StringgetTunnelServerUrl()StringgetVersion()booleanisConnected()voidsetAppName(String appName)voidsetConnected(boolean connected)voidsetId(String id)voidsetReconnectDelay(int reconnectDelay)voidsetTunnelServerUrl(String tunnelServerUrl)voidsetVersion(String version)io.netty.channel.ChannelFuturestart()voidstop()
-
-
-
方法详细资料
-
start
public io.netty.channel.ChannelFuture start() throws IOException, InterruptedException, URISyntaxException
-
connect
public io.netty.channel.ChannelFuture connect(boolean reconnect) throws SSLException, URISyntaxException, InterruptedException
-
stop
public void stop()
-
getTunnelServerUrl
public String getTunnelServerUrl()
-
setTunnelServerUrl
public void setTunnelServerUrl(String tunnelServerUrl)
-
getReconnectDelay
public int getReconnectDelay()
-
setReconnectDelay
public void setReconnectDelay(int reconnectDelay)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getAppName
public String getAppName()
-
setAppName
public void setAppName(String appName)
-
isConnected
public boolean isConnected()
-
setConnected
public void setConnected(boolean connected)
-
-