Class ShipServer
- java.lang.Object
-
- org.openmuc.jeebus.ship.node.websocket.server.ShipServer
-
public class ShipServer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description ShipServer(io.netty.handler.ssl.SslContext sslCtx, int port, java.lang.String wssPath, ShipNodeContext nodeCtx, ShipNodeCallBacks nodeCBs, boolean keepAlive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ShipServerHandler>getHandlers()intgetPort()voidsetConnHandler(ConnectionHandler connHandler)voidsetHandlers(java.util.List<ShipServerHandler> handlers)voidstop()
-
-
-
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()
-
getHandlers
public java.util.List<ShipServerHandler> getHandlers()
-
setHandlers
public void setHandlers(java.util.List<ShipServerHandler> handlers)
-
getPort
public int getPort()
-
setConnHandler
public void setConnHandler(ConnectionHandler connHandler)
-
-