-
- All Implemented Interfaces:
-
org.eclipse.paho.client.mqttv3.internal.NetworkModule
public class WebSocketSecureNetworkModule extends SSLNetworkModule
-
-
Constructor Summary
Constructors Constructor Description WebSocketSecureNetworkModule(SSLSocketFactory factory, String uri, String host, int port, String clientId, 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()-
Methods inherited from class org.eclipse.paho.client.mqttv3.internal.SSLNetworkModule
getEnabledCiphers, setEnabledCiphers, setSSLhandshakeTimeout -
Methods inherited from class org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule
getSocket, setConnectTimeout, setReadTimeout -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
WebSocketSecureNetworkModule
WebSocketSecureNetworkModule(SSLSocketFactory factory, String uri, String host, int port, String clientId, 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()
-
-
-
-