-
- All Implemented Interfaces:
-
java.lang.Runnable
public class WebSocketReceiver implements Runnable
-
-
Constructor Summary
Constructors Constructor Description WebSocketReceiver(InputStream input, PipedInputStream pipedInputStream)
-
Method Summary
-
-
Constructor Detail
-
WebSocketReceiver
WebSocketReceiver(InputStream input, PipedInputStream pipedInputStream)
-
-
Method Detail
-
start
void start(String threadName)
Starts up the WebSocketReceiver's thread
- Parameters:
threadName- The name of the thread
-
stop
void stop()
Stops this WebSocketReceiver's thread. This call will block.
-
run
void run()
-
isRunning
boolean isRunning()
-
isReceiving
boolean isReceiving()
Returns the receiving state.
-
-
-
-