Class JavaxWebSocketAsyncRemote
java.lang.Object
org.eclipse.jetty.websocket.javax.common.JavaxWebSocketRemoteEndpoint
org.eclipse.jetty.websocket.javax.common.JavaxWebSocketAsyncRemote
- All Implemented Interfaces:
javax.websocket.RemoteEndpoint
,javax.websocket.RemoteEndpoint.Async
,OutgoingFrames
public class JavaxWebSocketAsyncRemote
extends JavaxWebSocketRemoteEndpoint
implements javax.websocket.RemoteEndpoint.Async
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.websocket.RemoteEndpoint
javax.websocket.RemoteEndpoint.Async, javax.websocket.RemoteEndpoint.Basic
-
Field Summary
Fields inherited from class org.eclipse.jetty.websocket.javax.common.JavaxWebSocketRemoteEndpoint
batch, messageType, session
-
Constructor Summary
ModifierConstructorDescriptionprotected
JavaxWebSocketAsyncRemote
(JavaxWebSocketSession session, CoreSession coreSession) -
Method Summary
Modifier and TypeMethodDescriptionlong
sendBinary
(ByteBuffer data) void
sendBinary
(ByteBuffer data, javax.websocket.SendHandler handler) sendObject
(Object data) void
sendObject
(Object data, javax.websocket.SendHandler handler) void
void
setSendTimeout
(long timeoutmillis) Methods inherited from class org.eclipse.jetty.websocket.javax.common.JavaxWebSocketRemoteEndpoint
assertMessageNotNull, assertSendHandlerNotNull, flushBatch, getBatchingAllowed, getIdleTimeout, getWriteTimeout, newMessageOutputStream, newMessageWriter, sendFrame, sendObject, sendPing, sendPong, setBatchingAllowed, setIdleTimeout, setWriteTimeout
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.websocket.RemoteEndpoint
flushBatch, getBatchingAllowed, sendPing, sendPong, setBatchingAllowed
-
Constructor Details
-
JavaxWebSocketAsyncRemote
-
-
Method Details
-
getSendTimeout
public long getSendTimeout()- Specified by:
getSendTimeout
in interfacejavax.websocket.RemoteEndpoint.Async
-
setSendTimeout
public void setSendTimeout(long timeoutmillis) - Specified by:
setSendTimeout
in interfacejavax.websocket.RemoteEndpoint.Async
-
sendBinary
- Specified by:
sendBinary
in interfacejavax.websocket.RemoteEndpoint.Async
-
sendBinary
- Specified by:
sendBinary
in interfacejavax.websocket.RemoteEndpoint.Async
-
sendObject
- Specified by:
sendObject
in interfacejavax.websocket.RemoteEndpoint.Async
-
sendObject
- Specified by:
sendObject
in interfacejavax.websocket.RemoteEndpoint.Async
-
sendText
- Specified by:
sendText
in interfacejavax.websocket.RemoteEndpoint.Async
-
sendText
- Specified by:
sendText
in interfacejavax.websocket.RemoteEndpoint.Async
-