public class WsFrameServer extends WsFrameBase
inputBuffer, wsSession| Constructor and Description |
|---|
WsFrameServer(SocketWrapperBase<?> socketWrapper,
WsSession wsSession,
Transformation transformation,
ClassLoader applicationClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
protected Log |
getLog() |
protected Transformation |
getTransformation() |
protected boolean |
isMasked() |
protected boolean |
isOpen() |
void |
onDataAvailable()
Called when there is data in the ServletInputStream to process.
|
protected void |
sendMessageBinary(ByteBuffer msg,
boolean last) |
protected void |
sendMessageText(boolean last) |
byteArrayToLong, processInputBufferpublic WsFrameServer(SocketWrapperBase<?> socketWrapper, WsSession wsSession, Transformation transformation, ClassLoader applicationClassLoader)
public void onDataAvailable()
throws IOException
IOException - if an I/O error occurs while processing the available
dataprotected boolean isMasked()
isMasked in class WsFrameBaseprotected Transformation getTransformation()
getTransformation in class WsFrameBaseprotected boolean isOpen()
isOpen in class WsFrameBaseprotected Log getLog()
getLog in class WsFrameBaseprotected void sendMessageText(boolean last)
throws WsIOException
sendMessageText in class WsFrameBaseWsIOExceptionprotected void sendMessageBinary(ByteBuffer msg, boolean last) throws WsIOException
sendMessageBinary in class WsFrameBaseWsIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.