Class JakartaWebSocketAsyncRemote
java.lang.Object
org.eclipse.jetty.websocket.jakarta.common.JakartaWebSocketRemoteEndpoint
org.eclipse.jetty.websocket.jakarta.common.JakartaWebSocketAsyncRemote
- All Implemented Interfaces:
jakarta.websocket.RemoteEndpoint
,jakarta.websocket.RemoteEndpoint.Async
,OutgoingFrames
public class JakartaWebSocketAsyncRemote
extends JakartaWebSocketRemoteEndpoint
implements jakarta.websocket.RemoteEndpoint.Async
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.websocket.RemoteEndpoint
jakarta.websocket.RemoteEndpoint.Async, jakarta.websocket.RemoteEndpoint.Basic
-
Field Summary
Fields inherited from class org.eclipse.jetty.websocket.jakarta.common.JakartaWebSocketRemoteEndpoint
batch, messageType, session
-
Constructor Summary
ModifierConstructorDescriptionprotected
JakartaWebSocketAsyncRemote
(JakartaWebSocketSession session, CoreSession coreSession) -
Method Summary
Modifier and TypeMethodDescriptionlong
sendBinary
(ByteBuffer data) void
sendBinary
(ByteBuffer data, jakarta.websocket.SendHandler handler) sendObject
(Object data) void
sendObject
(Object data, jakarta.websocket.SendHandler handler) void
void
setSendTimeout
(long timeoutmillis) Methods inherited from class org.eclipse.jetty.websocket.jakarta.common.JakartaWebSocketRemoteEndpoint
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 jakarta.websocket.RemoteEndpoint
flushBatch, getBatchingAllowed, sendPing, sendPong, setBatchingAllowed
-
Constructor Details
-
JakartaWebSocketAsyncRemote
-
-
Method Details
-
getSendTimeout
public long getSendTimeout()- Specified by:
getSendTimeout
in interfacejakarta.websocket.RemoteEndpoint.Async
-
setSendTimeout
public void setSendTimeout(long timeoutmillis) - Specified by:
setSendTimeout
in interfacejakarta.websocket.RemoteEndpoint.Async
-
sendBinary
- Specified by:
sendBinary
in interfacejakarta.websocket.RemoteEndpoint.Async
-
sendBinary
- Specified by:
sendBinary
in interfacejakarta.websocket.RemoteEndpoint.Async
-
sendObject
- Specified by:
sendObject
in interfacejakarta.websocket.RemoteEndpoint.Async
-
sendObject
- Specified by:
sendObject
in interfacejakarta.websocket.RemoteEndpoint.Async
-
sendText
- Specified by:
sendText
in interfacejakarta.websocket.RemoteEndpoint.Async
-
sendText
- Specified by:
sendText
in interfacejakarta.websocket.RemoteEndpoint.Async
-