Uses of Enum
com.neovisionaries.ws.client.ThreadType
-
Uses of ThreadType in com.neovisionaries.ws.client
Fields in com.neovisionaries.ws.client declared as ThreadTypeMethods in com.neovisionaries.ws.client that return ThreadTypeModifier and TypeMethodDescriptionstatic ThreadType
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.Methods in com.neovisionaries.ws.client with parameters of type ThreadTypeModifier and TypeMethodDescriptionvoid
ListenerManager.callOnThreadCreated
(ThreadType threadType, Thread thread) void
ListenerManager.callOnThreadStarted
(ThreadType threadType, Thread thread) void
ListenerManager.callOnThreadStopping
(ThreadType threadType, Thread thread) 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'sstart()
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'srun()
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'srun()
method implementation.Constructors in com.neovisionaries.ws.client with parameters of type ThreadTypeModifierConstructorDescription(package private)
WebSocketThread
(String name, WebSocket ws, ThreadType type)