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 WebSocketImpl
WebSocketServerFactory. createWebSocket(WebSocketAdapter a, java.util.List<Draft> drafts)
WebSocketImpl
WebSocketServerFactory. createWebSocket(WebSocketAdapter a, Draft d)
Methods in org.java_websocket with parameters of type WebSocketImpl Modifier and Type Method Description static boolean
SocketChannelIOHelper. batch(WebSocketImpl ws, java.nio.channels.ByteChannel sockchannel)
Returns whether the whole outQueue has been flushedstatic boolean
SocketChannelIOHelper. read(java.nio.ByteBuffer buf, WebSocketImpl ws, java.nio.channels.ByteChannel channel)
static boolean
SocketChannelIOHelper. 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 WebSocketImpl
WebSocketClient. engine
The 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 void
Draft_6455. logRuntimeException(WebSocketImpl webSocketImpl, java.lang.RuntimeException e)
Log the runtime exception to the specific WebSocketImplvoid
Draft_6455. processFrame(WebSocketImpl webSocketImpl, Framedata frame)
abstract void
Draft. processFrame(WebSocketImpl webSocketImpl, Framedata frame)
Handle the frame specific to the draftprivate void
Draft_6455. processFrameBinary(WebSocketImpl webSocketImpl, Framedata frame)
Process the frame if it is a binary frameprivate void
Draft_6455. processFrameClosing(WebSocketImpl webSocketImpl, Framedata frame)
Process the frame if it is a closing frameprivate void
Draft_6455. processFrameContinuousAndNonFin(WebSocketImpl webSocketImpl, Framedata frame, Opcode curop)
Process the frame if it is a continuous frame or the fin bit is not setprivate void
Draft_6455. processFrameIsFin(WebSocketImpl webSocketImpl, Framedata frame)
Process the frame if it is the last frameprivate void
Draft_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. iqueue
private java.util.concurrent.BlockingQueue<WebSocketImpl>
WebSocketServer.WebSocketWorker. iqueue
Methods in org.java_websocket.server that return WebSocketImpl Modifier and Type Method Description WebSocketImpl
DefaultSSLWebSocketServerFactory. createWebSocket(WebSocketAdapter a, java.util.List<Draft> d)
WebSocketImpl
DefaultSSLWebSocketServerFactory. createWebSocket(WebSocketAdapter a, Draft d)
WebSocketImpl
DefaultWebSocketServerFactory. createWebSocket(WebSocketAdapter a, java.util.List<Draft> d)
WebSocketImpl
DefaultWebSocketServerFactory. createWebSocket(WebSocketAdapter a, Draft d)
Methods in org.java_websocket.server with parameters of type WebSocketImpl Modifier and Type Method Description private void
WebSocketServer.WebSocketWorker. doDecode(WebSocketImpl ws, java.nio.ByteBuffer buf)
call ws.decode on the bytebuffervoid
WebSocketServer.WebSocketWorker. put(WebSocketImpl ws)
protected void
WebSocketServer. queue(WebSocketImpl ws)
-