Modifier and Type | Method and Description |
---|---|
static ThreadType |
ThreadType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadType[] |
ThreadType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketAdapter.onThreadCreated(WebSocket websocket,
ThreadType threadType,
Thread thread) |
void |
WebSocketListener.onThreadCreated(WebSocket websocket,
ThreadType threadType,
Thread thread)
Called between after a thread is created and before the thread's
start() method is called. |
void |
WebSocketAdapter.onThreadStarted(WebSocket websocket,
ThreadType threadType,
Thread thread) |
void |
WebSocketListener.onThreadStarted(WebSocket websocket,
ThreadType threadType,
Thread thread)
Called at the very beginning of the thread's
run() method implementation. |
void |
WebSocketAdapter.onThreadStopping(WebSocket websocket,
ThreadType threadType,
Thread thread) |
void |
WebSocketListener.onThreadStopping(WebSocket websocket,
ThreadType threadType,
Thread thread)
Called at the very end of the thread's
run() method implementation. |
Copyright © 2021. All rights reserved.