Package org.cometd.server.ext
Class BinarySessionExtension
java.lang.Object
org.cometd.server.ext.BinarySessionExtension
- All Implemented Interfaces:
ServerSession.Extension
An extension that encodes/decodes binary data for a ServerSession.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBinarySessionExtension(BayeuxServer bayeuxServer) BinarySessionExtension(BayeuxServer bayeuxServer, boolean decodeToByteBuffer) -
Method Summary
Modifier and TypeMethodDescriptionbooleanrcv(ServerSession session, ServerMessage.Mutable message) send(ServerSession sender, ServerSession session, ServerMessage message) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cometd.bayeux.server.ServerSession.Extension
incoming, outgoing, rcvMeta, sendMeta
-
Constructor Details
-
BinarySessionExtension
-
BinarySessionExtension
-
-
Method Details
-
rcv
- Specified by:
rcvin interfaceServerSession.Extension
-
send
- Specified by:
sendin interfaceServerSession.Extension
-