public class WebSocketReceiver
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
WebSocketReceiver(java.io.InputStream input,
java.io.PipedInputStream pipedInputStream) |
Modifier and Type | Method and Description |
---|---|
boolean |
isReceiving()
Returns the receiving state.
|
boolean |
isRunning() |
void |
run() |
void |
start(java.lang.String threadName)
Starts up the WebSocketReceiver's thread
|
void |
stop()
Stops this WebSocketReceiver's thread.
|
public WebSocketReceiver(java.io.InputStream input, java.io.PipedInputStream pipedInputStream) throws java.io.IOException
java.io.IOException
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()