Class WebSocketThread
java.lang.Object
java.lang.Thread
com.neovisionaries.ws.client.WebSocketThread
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
ConnectThread, FinishThread, ReadingThread, WritingThread
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
-
Field Details
-
mWebSocket
-
mThreadType
-
-
Constructor Details
-
WebSocketThread
WebSocketThread(String name, WebSocket ws, ThreadType type)
-
-
Method Details
-
run
-
callOnThreadCreated
public void callOnThreadCreated() -
runMain
protected abstract void runMain()
-