public class WsRemoteEndpointImplServer extends WsRemoteEndpointImplBase
RemoteEndpoint implementation
- i.e. what the server uses to send data to the client.RemoteEndpoint.Async, RemoteEndpoint.BasicSENDRESULT_OK| Constructor and Description |
|---|
WsRemoteEndpointImplServer(SocketWrapperBase<?> socketWrapper,
UpgradeInfo upgradeInfo,
WsServerContainer serverContainer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected void |
doWrite(SendHandler handler,
long blockingWriteTimeoutExpiry,
ByteBuffer... buffers) |
protected long |
getTimeoutExpiry() |
protected boolean |
isMasked() |
protected void |
onTimeout(boolean useDispatch) |
void |
onWritePossible(boolean useDispatch) |
protected void |
setTransformation(Transformation transformation) |
protected void |
updateStats(long payloadLength)
Hook for updating server side statistics.
|
close, flushBatch, getBatchingAllowed, getSendStream, getSendTimeout, getSendWriter, sendBytes, sendBytesByCompletion, sendBytesByFuture, sendObject, sendObjectByCompletion, sendObjectByFuture, sendPartialBytes, sendPartialString, sendPing, sendPong, sendString, sendStringByCompletion, sendStringByFuture, setBatchingAllowed, setEncoders, setSendTimeout, setSessionpublic WsRemoteEndpointImplServer(SocketWrapperBase<?> socketWrapper, UpgradeInfo upgradeInfo, WsServerContainer serverContainer)
protected final boolean isMasked()
isMasked in class WsRemoteEndpointImplBaseprotected void doWrite(SendHandler handler, long blockingWriteTimeoutExpiry, ByteBuffer... buffers)
doWrite in class WsRemoteEndpointImplBaseprotected void updateStats(long payloadLength)
WsRemoteEndpointImplBaseupdateStats in class WsRemoteEndpointImplBasepayloadLength - Size of message payloadpublic void onWritePossible(boolean useDispatch)
protected void doClose()
doClose in class WsRemoteEndpointImplBaseprotected long getTimeoutExpiry()
protected void onTimeout(boolean useDispatch)
protected void setTransformation(Transformation transformation)
setTransformation in class WsRemoteEndpointImplBaseCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.