org.cometd.bayeux.server.ServerSession.Extensionpublic class BinarySessionExtension
extends java.lang.Object
implements org.cometd.bayeux.server.ServerSession.Extension
An extension that encodes/decodes binary data for a ServerSession.
BinaryExtension| Constructor | Description |
|---|---|
BinarySessionExtension(org.cometd.bayeux.server.BayeuxServer bayeuxServer) |
|
BinarySessionExtension(org.cometd.bayeux.server.BayeuxServer bayeuxServer,
boolean decodeToByteBuffer) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
rcv(org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerMessage.Mutable message) |
|
org.cometd.bayeux.server.ServerMessage |
send(org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerMessage message) |
public BinarySessionExtension(org.cometd.bayeux.server.BayeuxServer bayeuxServer)
public BinarySessionExtension(org.cometd.bayeux.server.BayeuxServer bayeuxServer,
boolean decodeToByteBuffer)
public boolean rcv(org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerMessage.Mutable message)
rcv in interface org.cometd.bayeux.server.ServerSession.Extensionpublic org.cometd.bayeux.server.ServerMessage send(org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerMessage message)
send in interface org.cometd.bayeux.server.ServerSession.ExtensionCopyright © 2008–2017 The CometD Project. All rights reserved.