| Package | Description |
|---|---|
| org.cometd.bayeux.server |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ServerMessage.Mutable
The mutable version of a
ServerMessage |
| Modifier and Type | Method and Description |
|---|---|
ServerMessage |
ServerSession.Extension.send(ServerSession to,
ServerMessage message)
Callback method invoked every time a normal message is outgoing.
|
ServerMessage |
ServerSession.Extension.Adapter.send(ServerSession to,
ServerMessage message) |
| Modifier and Type | Method and Description |
|---|---|
Authorizer.Result |
Authorizer.authorize(Authorizer.Operation operation,
ChannelId channel,
ServerSession session,
ServerMessage message)
Callback invoked to authorize the given
operation on the given channel. |
boolean |
SecurityPolicy.canCreate(BayeuxServer server,
ServerSession session,
String channelId,
ServerMessage message)
Checks if a message should be allowed to create a new channel.
|
boolean |
SecurityPolicy.canHandshake(BayeuxServer server,
ServerSession session,
ServerMessage message)
Checks if a handshake message should be accepted.
|
boolean |
SecurityPolicy.canPublish(BayeuxServer server,
ServerSession session,
ServerChannel channel,
ServerMessage message)
Checks if a client can publish a message to a channel.
|
boolean |
SecurityPolicy.canSubscribe(BayeuxServer server,
ServerSession session,
ServerChannel channel,
ServerMessage message)
Checks if a client is allowed to subscribe to a channel.
|
boolean |
ServerSession.MessageListener.onMessage(ServerSession to,
ServerSession from,
ServerMessage message)
Callback invoked when a message is received.
|
ServerMessage |
ServerSession.Extension.send(ServerSession to,
ServerMessage message)
Callback method invoked every time a normal message is outgoing.
|
ServerMessage |
ServerSession.Extension.Adapter.send(ServerSession to,
ServerMessage message) |
| Modifier and Type | Method and Description |
|---|---|
void |
ServerSession.DeQueueListener.deQueue(ServerSession session,
Queue<ServerMessage> queue)
Callback invoked to notify that the queue of messages is about to be sent to the
remote client.
|
Copyright © 2008-2012 Dojo Foundation. All Rights Reserved.