Class TcpServer

    • Constructor Detail

    • Method Detail

      • getPoolSize

        public int getPoolSize()
        Gets the number of threads of the pool.
        Specified by:
        getPoolSize in interface TcpServerMBean
        Returns:
        the number of threads of the pool.
      • getListenPort

        public int getListenPort()
        Gets the listen port of the server.
        Specified by:
        getListenPort in interface TcpServerMBean
        Returns:
        the listen port of the server.
      • start

        public final void start()
      • stop

        public final void stop()
      • getServerId

        public final AgentId getServerId()