Uses of Enum
com.neovisionaries.ws.client.ThreadType
-
Uses of ThreadType in com.neovisionaries.ws.client
Subclasses with type arguments of type ThreadType in com.neovisionaries.ws.clientModifier and TypeClassDescriptionenumTypes of threads which are created internally in the implementation.Methods in com.neovisionaries.ws.client that return ThreadTypeModifier and TypeMethodDescriptionstatic ThreadTypeReturns 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 TypeMethodDescriptionvoidWebSocketAdapter.onThreadCreated(WebSocket websocket, ThreadType threadType, Thread thread) voidWebSocketListener.onThreadCreated(WebSocket websocket, ThreadType threadType, Thread thread) Called between after a thread is created and before the thread'sstart()method is called.voidWebSocketAdapter.onThreadStarted(WebSocket websocket, ThreadType threadType, Thread thread) voidWebSocketListener.onThreadStarted(WebSocket websocket, ThreadType threadType, Thread thread) Called at the very beginning of the thread'srun()method implementation.voidWebSocketAdapter.onThreadStopping(WebSocket websocket, ThreadType threadType, Thread thread) voidWebSocketListener.onThreadStopping(WebSocket websocket, ThreadType threadType, Thread thread) Called at the very end of the thread'srun()method implementation.