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 EncoderFactory
protected final WebSocketRemoteEndpoint
private static final org.eclipse.jetty.util.log.Logger
protected final JsrSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
assertMessageNotNull
(Object data) protected void
assertSendHandlerNotNull
(javax.websocket.SendHandler handler) void
boolean
sendObjectViaFuture
(Object data) void
sendPing
(ByteBuffer data) void
sendPong
(ByteBuffer data) void
setBatchingAllowed
(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:
flushBatch
in interfacejavax.websocket.RemoteEndpoint
- Throws:
IOException
-
getBatchingAllowed
public boolean getBatchingAllowed()- Specified by:
getBatchingAllowed
in interfacejavax.websocket.RemoteEndpoint
-
setBatchingAllowed
- Specified by:
setBatchingAllowed
in interfacejavax.websocket.RemoteEndpoint
- Throws:
IOException
-
sendObjectViaFuture
-
sendPing
- Specified by:
sendPing
in interfacejavax.websocket.RemoteEndpoint
- Throws:
IOException
IllegalArgumentException
-
sendPong
- Specified by:
sendPong
in interfacejavax.websocket.RemoteEndpoint
- Throws:
IOException
IllegalArgumentException
-