A B C D E F G H I J L M N O P Q R S T U V

A

addDataFilter(DataFilter) - Method in interface org.cometd.Channel
Adds the given DataFilter to this channel.
addExtension(Extension) - Method in interface org.cometd.Bayeux
Adds a bayeux extension.
addExtension(Extension) - Method in interface org.cometd.Client
Adds a bayeux client extension.
addListener(BayeuxListener) - Method in interface org.cometd.Bayeux
Adds a bayeux listener,
addListener(ChannelListener) - Method in interface org.cometd.Channel
Adds a channel listener to this channel.
addListener(ClientListener) - Method in interface org.cometd.Client
Adds a listener.
ADVICE_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - advice field
ATTRIBUTE - Static variable in interface org.cometd.Bayeux
ServletContext attribute name used to obtain the Bayeux object

B

Bayeux - Interface in org.cometd
Bayeux Server Interface.
BayeuxListener - Interface in org.cometd
A marker interface for all interfaces that listen for Bayeux events

C

canCreate(Client, String, Message) - Method in interface org.cometd.SecurityPolicy
Test if a message should be allowed to create a new Channel
canHandshake(Message) - Method in interface org.cometd.SecurityPolicy
Test if a handshake message should be accepted.
canPublish(Client, String, Message) - Method in interface org.cometd.SecurityPolicy
Test if a client can publish a message to a channel
canSubscribe(Client, String, Message) - Method in interface org.cometd.SecurityPolicy
Test if a client is allowed to subscribe to a channel
Channel - Interface in org.cometd
A Bayeux channel.
CHANNEL_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - channel field
channelAdded(Channel) - Method in interface org.cometd.ChannelBayeuxListener
 
ChannelBayeuxListener - Interface in org.cometd
A BayeuxListener with call backs for channel life cycle events
ChannelListener - Interface in org.cometd
A marker interface for all interfaces that listen for Channel events
channelRemoved(Channel) - Method in interface org.cometd.ChannelBayeuxListener
 
Client - Interface in org.cometd
A Bayeux Client.
CLIENT_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - clientId field
clientAdded(Client) - Method in interface org.cometd.ClientBayeuxListener
 
ClientBayeuxListener - Interface in org.cometd
A BayeuxListener with call backs for client life cycle events
ClientListener - Interface in org.cometd
A marker interface for all interfaces that listen for Client events.
clientRemoved(Client) - Method in interface org.cometd.ClientBayeuxListener
 
clone() - Method in interface org.cometd.Message
 
CONNECTION_TYPE_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - connectionType field

D

DATA_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - data field
DataFilter - Interface in org.cometd
Data filters are used to transform data as it is sent to a Channel.
deliver(Client, String, Object, String) - Method in interface org.cometd.Client
Delivers a message to the remote client represented by this object.
deliver(Client, Queue<Message>) - Method in interface org.cometd.DeliverListener
callback to notify that the queue is about to be sent to the client.
deliver(Client, Client, Message) - Method in interface org.cometd.MessageListener
Called when a message is delivered to the client
DeliverListener - Interface in org.cometd
 
disconnect() - Method in interface org.cometd.Client
Disconnects this Client from the server.

E

endBatch() - Method in interface org.cometd.Client
Ends a batch of messages.
ERROR_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - error field
EXT_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - ext field
Extension - Interface in org.cometd
Cometd extension interface.

F

filter(Client, Channel, Object) - Method in interface org.cometd.DataFilter
 

G

getAssociated() - Method in interface org.cometd.Message
 
getChannel(String, boolean) - Method in interface org.cometd.Bayeux
Get a Channel instance by ID.
getChannel() - Method in interface org.cometd.Message
 
getChannels() - Method in interface org.cometd.Bayeux
Get all known channels.
getClient(String) - Method in interface org.cometd.Bayeux
Get Client by ID.
getClientId() - Method in interface org.cometd.Message
 
getClients() - Method in interface org.cometd.Bayeux
Get a collection of all Clients.
getCurrentRequest() - Method in interface org.cometd.Bayeux
Get the current Servlet Request.
getData() - Method in interface org.cometd.Message
 
getDataFilters() - Method in interface org.cometd.Channel
Returns a collection copy of the data filters for this channel.
getExt(boolean) - Method in interface org.cometd.Message
 
getId() - Method in interface org.cometd.Channel
 
getId() - Method in interface org.cometd.Client
 
getId() - Method in interface org.cometd.Message
 
getMaxClientQueue() - Method in interface org.cometd.Bayeux
 
getMaxQueue() - Method in interface org.cometd.Client
 
getQueue() - Method in interface org.cometd.Client
 
getSecurityPolicy() - Method in interface org.cometd.Bayeux
Get the SecurityPolicy instance.
getSubscriberCount() - Method in interface org.cometd.Channel
 
getSubscribers() - Method in interface org.cometd.Channel
Returns a collection that is a copy of clients subscribed to this channel.

H

HANDSHAKE_RESPONSE - Static variable in interface org.cometd.Bayeux
Field values inside Bayeux messages - handshake response
hasChannel(String) - Method in interface org.cometd.Bayeux
Check if channel exists.
hasClient(String) - Method in interface org.cometd.Bayeux
 
hasMessages() - Method in interface org.cometd.Client
 

I

ID_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - id field
INTERVAL_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - interval field
isLazy() - Method in interface org.cometd.Channel
 
isLocal() - Method in interface org.cometd.Client
 
isPersistent() - Method in interface org.cometd.Channel
Indicates whether the channel is persistent or not.

J

JSON_COMMENT_FILTERED_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - json-comment-filtered field
JSON_CONTENT_TYPE - Static variable in interface org.cometd.Bayeux
http helpers - application/json content type
JSONP_DEFAULT_NAME - Static variable in interface org.cometd.Bayeux
http helpers - default name of the jsonp callback function
JSONP_PARAMETER - Static variable in interface org.cometd.Bayeux
http helpers - name of the jsonp parameter

L

Listener - Interface in org.cometd
 

M

Message - Interface in org.cometd
A Bayeux Message A Map of String to Object that has been optimized for conversion to JSON messages.
MESSAGE_PARAMETER - Static variable in interface org.cometd.Bayeux
http helpers - parameter name for json message
MessageListener - Interface in org.cometd
Message Listener Interface.
MessageListener.Asynchronous - Interface in org.cometd
Subtype of MesssageListener that requires asynchronous message delivery.
MessageListener.Synchronous - Interface in org.cometd
Subtype of MessageListener that requires synchronous message delivery.
META - Static variable in interface org.cometd.Bayeux
Meta definitions for channels
META_CLIENT - Static variable in interface org.cometd.Bayeux
Meta definitions for channels - client messsage
META_CONNECT - Static variable in interface org.cometd.Bayeux
Meta definitions for channels - connect message
META_DISCONNECT - Static variable in interface org.cometd.Bayeux
Meta definitions for channels - disconnect messsage
META_HANDSHAKE - Static variable in interface org.cometd.Bayeux
Meta definitions for channels - handshake messsage
META_PING - Static variable in interface org.cometd.Bayeux
Meta definitions for channels - ping messsage
META_SLASH - Static variable in interface org.cometd.Bayeux
Meta definitions for channels
META_STATUS - Static variable in interface org.cometd.Bayeux
Meta definitions for channels - status messsage
META_SUBSCRIBE - Static variable in interface org.cometd.Bayeux
Meta definitions for channels - subscribe messsage
META_UNSUBSCRIBE - Static variable in interface org.cometd.Bayeux
Meta definitions for channels - unsubscribe messsage
MIN_VERSION_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - minimumVersion field

N

newClient(String) - Method in interface org.cometd.Bayeux
Create a new server side Client.
NONE_RESPONSE - Static variable in interface org.cometd.Bayeux
Field values inside Bayeux messages - none response

O

org.cometd - package org.cometd
 

P

publish(Client, Object, String) - Method in interface org.cometd.Channel
Publishes a message.

Q

QueueListener - Interface in org.cometd
 
queueMaxed(Client, Client, Message) - Method in interface org.cometd.QueueListener
Call back to notify if a message for a client will result in the message queue exceeding Client.getMaxQueue().

R

rcv(Client, Message) - Method in interface org.cometd.Extension
 
rcvMeta(Client, Message) - Method in interface org.cometd.Extension
 
RECONNECT_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - reconnect field
remove() - Method in interface org.cometd.Channel
 
removeChannel(String) - Method in interface org.cometd.Bayeux
 
removeClient(String) - Method in interface org.cometd.Bayeux
 
removed(String, boolean) - Method in interface org.cometd.RemoveListener
This method is called after a client is removed.
removeDataFilter(DataFilter) - Method in interface org.cometd.Channel
Removes the given DataFilter from this channel.
removeExtension(Extension) - Method in interface org.cometd.Bayeux
Removes a bayeux extension.
removeExtension(Extension) - Method in interface org.cometd.Client
Removes a bayeux client extension.
removeListener(BayeuxListener) - Method in interface org.cometd.Bayeux
Removes a bayeux listener
removeListener(ChannelListener) - Method in interface org.cometd.Channel
Removes the channel listener from this channel.
removeListener(ClientListener) - Method in interface org.cometd.Client
Removes a listener
RemoveListener - Interface in org.cometd
Remove Listener Interface.
RETRY_RESPONSE - Static variable in interface org.cometd.Bayeux
Field values inside Bayeux messages - retry response

S

SecurityPolicy - Interface in org.cometd
Pluggable security policy for Bayeux
send(Client, Message) - Method in interface org.cometd.Extension
 
sendMeta(Client, Message) - Method in interface org.cometd.Extension
 
SERVICE - Static variable in interface org.cometd.Bayeux
Service channel names-starts with
SERVICE_SLASH - Static variable in interface org.cometd.Bayeux
Service channel names-trailing slash
setLazy(boolean) - Method in interface org.cometd.Channel
Sets the lazyness of the channel
setMaxClientQueue(int) - Method in interface org.cometd.Bayeux
 
setMaxQueue(int) - Method in interface org.cometd.Client
 
setPersistent(boolean) - Method in interface org.cometd.Channel
Sets the persistency of this channel.
setSecurityPolicy(SecurityPolicy) - Method in interface org.cometd.Bayeux
Set the security policy for the Bayeux instance.
startBatch() - Method in interface org.cometd.Client
Starts a batch of messages.
subscribe(Client) - Method in interface org.cometd.Channel
Subscribes the given Client to this channel.
subscribed(Client, Channel) - Method in interface org.cometd.SubscriptionListener
 
SUBSCRIPTION_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - subscription field
SubscriptionListener - Interface in org.cometd
A ChannelListener with call backs for subscription life cycle events
SUCCESSFUL_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - successful field
SUPPORTED_CONNECTION_TYPES_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - supportedConnectionTypes field

T

takeMessages() - Method in interface org.cometd.Client
Deprecated. use Client.addListener(ClientListener) to be notified of messages
TIMESTAMP_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - timestamp field
TRANSPORT_CALLBACK_POLL - Static variable in interface org.cometd.Bayeux
Transport types - callback polling
TRANSPORT_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - transport field
TRANSPORT_FLASH - Static variable in interface org.cometd.Bayeux
Transport types - flash
TRANSPORT_IFRAME - Static variable in interface org.cometd.Bayeux
Transport types - iframe
TRANSPORT_LONG_POLL - Static variable in interface org.cometd.Bayeux
Transport types - long polling

U

unsubscribe(Client) - Method in interface org.cometd.Channel
Unsubscribes the given Client from this channel.
unsubscribed(Client, Channel) - Method in interface org.cometd.SubscriptionListener
 

V

VERSION_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - version field

A B C D E F G H I J L M N O P Q R S T U V

Copyright © 2010 Dojo Foundation. All Rights Reserved.