类 NettyTransportServer

java.lang.Object
com.alibaba.csp.sentinel.cluster.server.NettyTransportServer
所有已实现的接口:
com.alibaba.csp.sentinel.cluster.server.ClusterTokenServer

public class NettyTransportServer extends Object implements com.alibaba.csp.sentinel.cluster.server.ClusterTokenServer
从以下版本开始:
1.4.0
作者:
Eric Zhao
  • 构造器详细资料

    • NettyTransportServer

      public NettyTransportServer(int port)
  • 方法详细资料

    • start

      public void start()
      指定者:
      start 在接口中 com.alibaba.csp.sentinel.cluster.server.ClusterTokenServer
    • stop

      public void stop()
      指定者:
      stop 在接口中 com.alibaba.csp.sentinel.cluster.server.ClusterTokenServer
    • refreshRunningServer

      public void refreshRunningServer()
    • closeConnection

      public void closeConnection(String clientIp, int clientPort) throws Exception
      抛出:
      Exception
    • closeAll

      public void closeAll() throws Exception
      抛出:
      Exception
    • listAllClient

      public List<String> listAllClient()
    • getCurrentState

      public int getCurrentState()
    • clientCount

      public int clientCount()