Class ShipServer


  • public class ShipServer
    extends java.lang.Object
    • Field Detail

      • log

        protected static final org.slf4j.Logger log
    • Constructor Detail

      • ShipServer

        public ShipServer​(io.netty.handler.ssl.SslContext sslCtx,
                          int port,
                          java.lang.String wssPath,
                          ShipNodeContext nodeCtx,
                          ShipNodeCallBacks nodeCBs,
                          boolean keepAlive)
                   throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
    • Method Detail

      • stop

        public void stop()
      • setHandlers

        public void setHandlers​(java.util.List<ShipServerHandler> handlers)
      • getPort

        public int getPort()