public class WsFrameServer extends WsFrameBase
WsFrameBase.ReadStateinputBuffer, wsSession| Constructor and Description |
|---|
WsFrameServer(SocketWrapperBase<?> socketWrapper,
UpgradeInfo upgradeInfo,
WsSession wsSession,
Transformation transformation,
ClassLoader applicationClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
protected Log |
getLog() |
protected Transformation |
getTransformation() |
protected boolean |
isMasked() |
protected boolean |
isOpen() |
protected void |
resumeProcessing()
This method will be invoked when the read operation is resumed.
|
protected void |
sendMessageBinary(ByteBuffer msg,
boolean last) |
protected void |
sendMessageText(boolean last) |
protected void |
updateStats(long payloadLength)
Hook for updating server side statistics.
|
byteArrayToLong, changeReadState, changeReadState, getReadState, isSuspended, processInputBuffer, resume, suspendpublic WsFrameServer(SocketWrapperBase<?> socketWrapper, UpgradeInfo upgradeInfo, WsSession wsSession, Transformation transformation, ClassLoader applicationClassLoader)
protected void updateStats(long payloadLength)
WsFrameBaseupdateStats in class WsFrameBasepayloadLength - Size of message payloadprotected 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 WsFrameBaseWsIOExceptionprotected void resumeProcessing()
WsFrameBaseresumeProcessing in class WsFrameBaseCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.