Class ShipClient
- java.lang.Object
-
- org.openmuc.jeebus.ship.node.websocket.client.ShipClient
-
public class ShipClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intTIMEOUT_MILLIS
-
Constructor Summary
Constructors Constructor Description ShipClient(io.netty.handler.ssl.SslContext sslContext, java.net.URI uri, ShipNodeContext nodeContext, ShipNodeImpl shipNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShipClientHandlergetHandler()voidsetConnHandler(ConnectionHandler connHandler)voidsetHandler(ShipClientHandler handler)voidstop()
-
-
-
Field Detail
-
TIMEOUT_MILLIS
public static final int TIMEOUT_MILLIS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ShipClient
public ShipClient(io.netty.handler.ssl.SslContext sslContext, java.net.URI uri, ShipNodeContext nodeContext, ShipNodeImpl shipNode) throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
-
Method Detail
-
stop
public void stop()
-
getHandler
public ShipClientHandler getHandler()
-
setHandler
public void setHandler(ShipClientHandler handler)
-
setConnHandler
public void setConnHandler(ConnectionHandler connHandler)
-
-