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.Fields in com.neovisionaries.ws.client declared as ThreadTypeMethods 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 TypeMethodDescriptionvoidListenerManager.callOnThreadCreated(ThreadType threadType, Thread thread) voidListenerManager.callOnThreadStarted(ThreadType threadType, Thread thread) voidListenerManager.callOnThreadStopping(ThreadType threadType, Thread thread) voidWebSocketAdapter.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.Constructors in com.neovisionaries.ws.client with parameters of type ThreadTypeModifierConstructorDescription(package private)WebSocketThread(String name, WebSocket ws, ThreadType type)