RemoteEndpoint
public class WsRemoteEndpointImplServer extends WsRemoteEndpointImplBase
RemoteEndpoint
implementation
- i.e. what the server uses to send data to the client.RemoteEndpoint.Async, RemoteEndpoint.Basic
SENDRESULT_OK
Constructor | Description |
---|---|
WsRemoteEndpointImplServer(SocketWrapperBase<?> socketWrapper,
WsServerContainer serverContainer) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
doClose() |
|
protected void |
doWrite(SendHandler handler,
long blockingWriteTimeoutExpiry,
java.nio.ByteBuffer... buffers) |
|
protected long |
getTimeoutExpiry() |
|
protected boolean |
isMasked() |
|
protected void |
onTimeout(boolean useDispatch) |
|
void |
onWritePossible(boolean useDispatch) |
|
protected void |
setTransformation(Transformation transformation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, flushBatch, getBatchingAllowed, getSendStream, getSendTimeout, getSendWriter, sendBytes, sendBytesByCompletion, sendBytesByFuture, sendObject, sendObjectByCompletion, sendObjectByFuture, sendPartialBytes, sendPartialString, sendPing, sendPong, sendString, sendStringByCompletion, sendStringByFuture, setBatchingAllowed, setEncoders, setSendTimeout, setSession
public WsRemoteEndpointImplServer(SocketWrapperBase<?> socketWrapper, WsServerContainer serverContainer)
protected final boolean isMasked()
isMasked
in class WsRemoteEndpointImplBase
protected void doWrite(SendHandler handler, long blockingWriteTimeoutExpiry, java.nio.ByteBuffer... buffers)
doWrite
in class WsRemoteEndpointImplBase
public void onWritePossible(boolean useDispatch)
protected void doClose()
doClose
in class WsRemoteEndpointImplBase
protected long getTimeoutExpiry()
protected void onTimeout(boolean useDispatch)
protected void setTransformation(Transformation transformation)
setTransformation
in class WsRemoteEndpointImplBase
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.