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.Logger
log
-
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()
int
getPort()
void
setConnHandler(ConnectionHandler connHandler)
void
setHandlers(java.util.List<ShipServerHandler> handlers)
void
stop()
-
-
-
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)
-
-