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
 
addExtension(Extension) - Method in interface org.cometd.Bayeux
Add a bayeux extension
addListener(BayeuxListener) - Method in interface org.cometd.Bayeux
 
addListener(ChannelListener) - Method in interface org.cometd.Channel
 
addListener(ClientListener) - Method in interface org.cometd.Client
 
ADVICE_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - advice field

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
 
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 Filter 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
 
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
 
DOJOX_COMETD_BAYEUX - Static variable in interface org.cometd.Bayeux
ServletContext attribute name used to obtain the Bayeux object

E

endBatch() - Method in interface org.cometd.Client
End 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
 

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
 
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
Access the message queue.
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
 

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
isLocal() - Method in interface org.cometd.Client
 
isPersistent() - Method in interface org.cometd.Channel
Is the channel persistent.

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 - text/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
Publish a message.

Q

QueueListener - Interface in org.cometd
 
queueMaxed(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(Message) - Method in interface org.cometd.Extension
 
rcvMeta(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 the client is removed (explicitly or from a timeout)
removeDataFilter(DataFilter) - Method in interface org.cometd.Channel
 
removeListener(ClientListener) - Method in interface org.cometd.Client
 
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(Message) - Method in interface org.cometd.Extension
 
sendMeta(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
setMaxClientQueue(int) - Method in interface org.cometd.Bayeux
 
setMaxQueue(int) - Method in interface org.cometd.Client
 
setPersistent(boolean) - Method in interface org.cometd.Channel
 
setSecurityPolicy(SecurityPolicy) - Method in interface org.cometd.Bayeux
Set the security policy for the Bayeux instance.
startBatch() - Method in interface org.cometd.Client
Start a batch of messages.
subscribe(Client) - Method in interface org.cometd.Channel
Subscribe to a 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 BayeuxListener with call backs for subscription life cycle events
SUCCESSFUL_FIELD - Static variable in interface org.cometd.Bayeux
Field names inside Bayeux messages - successful field
SUPP_CONNECTION_TYPE_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 listeners
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
Unsubscribe to a 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 © 2009 Dojo Foundation. All Rights Reserved.