Package | Description |
---|---|
org.apache.cometd.bayeux | |
org.apache.tomcat.bayeux |
Modifier and Type | Method and Description |
---|---|
Message |
Bayeux.newMessage(Client from)
Creates a new message to be sent by a server side client.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SecurityPolicy.canCreate(Client client,
String channel,
Message message) |
boolean |
SecurityPolicy.canHandshake(Message message) |
boolean |
SecurityPolicy.canPublish(Client client,
String channel,
Message messsage) |
boolean |
SecurityPolicy.canSubscribe(Client client,
String channel,
Message messsage) |
void |
Client.deliver(Message message)
Deliver a message to this client only
Deliver a message directly to the client.
|
void |
Client.deliver(Message[] message)
Deliver a batch of messages to this client only
Deliver a batch messages directly to the client.
|
void |
Listener.deliver(Message[] msg)
Invoked when a message is delivered to the client.
|
void |
DataFilter.filter(Message data)
Runs a message through the filter.
|
void |
Channel.publish(Message msg)
Publishes a message to all the subscribers of this channel.
|
void |
Channel.publish(Message[] msgs)
Publishes more than one message to all the subscribers of this channel.
|
Modifier and Type | Class and Description |
---|---|
class |
MessageImpl |
Modifier and Type | Field and Description |
---|---|
protected static LinkedList<Message> |
ClientImpl.EMPTY_LIST |
protected LinkedList<Message> |
ClientImpl.messages
queued message for remote clients.
|
Modifier and Type | Method and Description |
---|---|
protected Message |
TomcatBayeux.newMessage() |
Message |
TomcatBayeux.newMessage(Client from) |
Modifier and Type | Method and Description |
---|---|
List<Message> |
ClientImpl.takeMessages() |
Modifier and Type | Method and Description |
---|---|
void |
ClientImpl.deliver(Message message) |
void |
ClientImpl.deliver(Message[] message) |
protected void |
ClientImpl.deliverInternal(ChannelImpl channel,
Message[] msgs) |
void |
ChannelImpl.publish(Message msg) |
void |
ChannelImpl.publish(Message[] msgs) |
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.