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,
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) |
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, WsServerContainer serverContainer)
protected final boolean isMasked()
isMasked in class WsRemoteEndpointImplBaseprotected void doWrite(SendHandler handler, long blockingWriteTimeoutExpiry, ByteBuffer... buffers)
doWrite in class WsRemoteEndpointImplBasepublic 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-2020 Apache Software Foundation. All Rights Reserved.