Class AbstractJsrRemote
java.lang.Object
org.eclipse.jetty.websocket.jsr356.AbstractJsrRemote
- All Implemented Interfaces:
javax.websocket.RemoteEndpoint
- Direct Known Subclasses:
JsrAsyncRemote, JsrBasicRemote
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.websocket.RemoteEndpoint
javax.websocket.RemoteEndpoint.Async, javax.websocket.RemoteEndpoint.Basic -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final EncoderFactoryprotected final WebSocketRemoteEndpointprivate static final org.eclipse.jetty.util.log.Loggerprotected final JsrSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertMessageNotNull(Object data) protected voidassertSendHandlerNotNull(javax.websocket.SendHandler handler) voidbooleansendObjectViaFuture(Object data) voidsendPing(ByteBuffer data) voidsendPong(ByteBuffer data) voidsetBatchingAllowed(boolean allowed)
-
Field Details
-
LOG
private static final org.eclipse.jetty.util.log.Logger LOG -
session
-
jettyRemote
-
encoders
-
-
Constructor Details
-
AbstractJsrRemote
-
-
Method Details
-
assertMessageNotNull
-
assertSendHandlerNotNull
protected void assertSendHandlerNotNull(javax.websocket.SendHandler handler) -
flushBatch
- Specified by:
flushBatchin interfacejavax.websocket.RemoteEndpoint- Throws:
IOException
-
getBatchingAllowed
public boolean getBatchingAllowed()- Specified by:
getBatchingAllowedin interfacejavax.websocket.RemoteEndpoint
-
setBatchingAllowed
- Specified by:
setBatchingAllowedin interfacejavax.websocket.RemoteEndpoint- Throws:
IOException
-
sendObjectViaFuture
-
sendPing
- Specified by:
sendPingin interfacejavax.websocket.RemoteEndpoint- Throws:
IOExceptionIllegalArgumentException
-
sendPong
- Specified by:
sendPongin interfacejavax.websocket.RemoteEndpoint- Throws:
IOExceptionIllegalArgumentException
-