Uses of Class
org.java_websocket.WebSocketImpl
-
Packages that use WebSocketImpl Package Description org.java_websocket org.java_websocket.client This package encapsulates all implementations in relation with the WebSocketClient.org.java_websocket.drafts This package encapsulates all implementations in relation with the WebSocket drafts.org.java_websocket.server This package encapsulates all implementations in relation with the WebSocketServer. -
-
Uses of WebSocketImpl in org.java_websocket
Methods in org.java_websocket that return WebSocketImpl Modifier and Type Method Description WebSocketImplWebSocketServerFactory. createWebSocket(WebSocketAdapter a, java.util.List<Draft> drafts)WebSocketImplWebSocketServerFactory. createWebSocket(WebSocketAdapter a, Draft d)Methods in org.java_websocket with parameters of type WebSocketImpl Modifier and Type Method Description static booleanSocketChannelIOHelper. batch(WebSocketImpl ws, java.nio.channels.ByteChannel sockchannel)Returns whether the whole outQueue has been flushedstatic booleanSocketChannelIOHelper. read(java.nio.ByteBuffer buf, WebSocketImpl ws, java.nio.channels.ByteChannel channel)static booleanSocketChannelIOHelper. readMore(java.nio.ByteBuffer buf, WebSocketImpl ws, WrappedByteChannel channel) -
Uses of WebSocketImpl in org.java_websocket.client
Fields in org.java_websocket.client declared as WebSocketImpl Modifier and Type Field Description private WebSocketImplWebSocketClient. engineThe underlying engine -
Uses of WebSocketImpl in org.java_websocket.drafts
Methods in org.java_websocket.drafts with parameters of type WebSocketImpl Modifier and Type Method Description private voidDraft_6455. logRuntimeException(WebSocketImpl webSocketImpl, java.lang.RuntimeException e)Log the runtime exception to the specific WebSocketImplvoidDraft_6455. processFrame(WebSocketImpl webSocketImpl, Framedata frame)abstract voidDraft. processFrame(WebSocketImpl webSocketImpl, Framedata frame)Handle the frame specific to the draftprivate voidDraft_6455. processFrameBinary(WebSocketImpl webSocketImpl, Framedata frame)Process the frame if it is a binary frameprivate voidDraft_6455. processFrameClosing(WebSocketImpl webSocketImpl, Framedata frame)Process the frame if it is a closing frameprivate voidDraft_6455. processFrameContinuousAndNonFin(WebSocketImpl webSocketImpl, Framedata frame, Opcode curop)Process the frame if it is a continuous frame or the fin bit is not setprivate voidDraft_6455. processFrameIsFin(WebSocketImpl webSocketImpl, Framedata frame)Process the frame if it is the last frameprivate voidDraft_6455. processFrameText(WebSocketImpl webSocketImpl, Framedata frame)Process the frame if it is a text frame -
Uses of WebSocketImpl in org.java_websocket.server
Fields in org.java_websocket.server with type parameters of type WebSocketImpl Modifier and Type Field Description private java.util.List<WebSocketImpl>WebSocketServer. iqueueprivate java.util.concurrent.BlockingQueue<WebSocketImpl>WebSocketServer.WebSocketWorker. iqueueMethods in org.java_websocket.server that return WebSocketImpl Modifier and Type Method Description WebSocketImplDefaultSSLWebSocketServerFactory. createWebSocket(WebSocketAdapter a, java.util.List<Draft> d)WebSocketImplDefaultSSLWebSocketServerFactory. createWebSocket(WebSocketAdapter a, Draft d)WebSocketImplDefaultWebSocketServerFactory. createWebSocket(WebSocketAdapter a, java.util.List<Draft> d)WebSocketImplDefaultWebSocketServerFactory. createWebSocket(WebSocketAdapter a, Draft d)Methods in org.java_websocket.server with parameters of type WebSocketImpl Modifier and Type Method Description private voidWebSocketServer.WebSocketWorker. doDecode(WebSocketImpl ws, java.nio.ByteBuffer buf)call ws.decode on the byteBuffervoidWebSocketServer.WebSocketWorker. put(WebSocketImpl ws)protected voidWebSocketServer. queue(WebSocketImpl ws)
-