org.apache.tomcat.websocket.server
Class WsRemoteEndpointImplServer
java.lang.Object
org.apache.tomcat.websocket.WsRemoteEndpointImplBase
org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer
- All Implemented Interfaces:
- RemoteEndpoint
public class WsRemoteEndpointImplServer
- extends WsRemoteEndpointImplBase
This is the server side RemoteEndpoint
implementation
- i.e. what the server uses to send data to the client. Communication is over
a ServletOutputStream
.
Methods inherited from class org.apache.tomcat.websocket.WsRemoteEndpointImplBase |
close, flushBatch, getBatchingAllowed, getSendStream, getSendTimeout, getSendWriter, sendBytes, sendBytesByCompletion, sendBytesByFuture, sendObject, sendObjectByCompletion, sendObjectByFuture, sendPartialBytes, sendPartialString, sendPing, sendPong, sendString, sendStringByCompletion, sendStringByFuture, setBatchingAllowed, setEncoders, setSendTimeout, setSession |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsRemoteEndpointImplServer
public WsRemoteEndpointImplServer(AbstractServletOutputStream sos,
WsServerContainer serverContainer)
isMasked
protected final boolean isMasked()
- Specified by:
isMasked
in class WsRemoteEndpointImplBase
doWrite
protected void doWrite(SendHandler handler,
ByteBuffer... buffers)
- Specified by:
doWrite
in class WsRemoteEndpointImplBase
onWritePossible
public void onWritePossible(boolean useDispatch)
doClose
protected void doClose()
- Specified by:
doClose
in class WsRemoteEndpointImplBase
getTimeoutExpiry
protected long getTimeoutExpiry()
onTimeout
protected void onTimeout(boolean useDispatch)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.