public class CommsReceiver
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
CommsReceiver(ClientComms clientComms,
ClientState clientState,
CommsTokenStore tokenStore,
java.io.InputStream in) |
Modifier and Type | Method and Description |
---|---|
boolean |
isReceiving()
Returns the receiving state.
|
boolean |
isRunning() |
void |
run()
Run loop to receive messages from the server.
|
void |
start(java.lang.String threadName)
Starts up the Receiver's thread.
|
void |
stop()
Stops the Receiver's thread.
|
public CommsReceiver(ClientComms clientComms, ClientState clientState, CommsTokenStore tokenStore, java.io.InputStream in)
public void start(java.lang.String threadName)
public void stop()
public void run()
run
in interface java.lang.Runnable
public boolean isRunning()
public boolean isReceiving()