|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.paho.client.mqttv3.internal.CommsReceiver
public class CommsReceiver
Receives MQTT packets from the server.
Constructor Summary | |
---|---|
CommsReceiver(ClientComms clientComms,
ClientState clientState,
CommsTokenStore tokenStore,
InputStream in)
|
Method Summary | |
---|---|
boolean |
isRunning()
|
void |
run()
Run loop to receive messages from the server. |
void |
start(String threadName)
Starts up the Receiver's thread. |
void |
stop()
Stops the Receiver's thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommsReceiver(ClientComms clientComms, ClientState clientState, CommsTokenStore tokenStore, InputStream in)
Method Detail |
---|
public void start(String threadName)
public void stop()
public void run()
run
in interface Runnable
public boolean isRunning()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |