-
- All Implemented Interfaces:
-
org.eclipse.paho.client.mqttv3.internal.NetworkModule
public class WebSocketNetworkModule extends TCPNetworkModule
-
-
Constructor Summary
Constructors Constructor Description WebSocketNetworkModule(SocketFactory factory, String uri, String host, int port, String resourceContext, ILogger logger, IPahoEvents pahoEvents)
-
Method Summary
Modifier and Type Method Description voidstart()Starts the module, by creating a TCP socket to the server. InputStreamgetInputStream()voidstop()Stops the module, by closing the TCP socket. StringgetServerURI()-
-
Constructor Detail
-
WebSocketNetworkModule
WebSocketNetworkModule(SocketFactory factory, String uri, String host, int port, String resourceContext, ILogger logger, IPahoEvents pahoEvents)
-
-
Method Detail
-
start
void start()
Starts the module, by creating a TCP socket to the server.
-
getInputStream
InputStream getInputStream()
-
stop
void stop()
Stops the module, by closing the TCP socket.
-
getServerURI
String getServerURI()
-
-
-
-