Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
L
M
N
O
P
Q
R
S
T
U
V
A
addExtension(ClientSession.Extension)
- Method in interface org.cometd.bayeux.client.
ClientSession
Add and extension to this session.
addExtension(BayeuxServer.Extension)
- Method in interface org.cometd.bayeux.server.
BayeuxServer
Adds the given extension to this bayeux object.
addExtension(ServerSession.Extension)
- Method in interface org.cometd.bayeux.server.
ServerSession
Add and extension to this session.
addListener(SessionChannel.SessionChannelListener)
- Method in interface org.cometd.bayeux.client.
SessionChannel
addListener(BayeuxServer.BayeuxServerListener)
- Method in interface org.cometd.bayeux.server.
BayeuxServer
addListener(ServerChannel.ServerChannelListener)
- Method in interface org.cometd.bayeux.server.
ServerChannel
addListener(ServerSession.ServerSessionListener)
- Method in interface org.cometd.bayeux.server.
ServerSession
ADVICE_FIELD
- Static variable in interface org.cometd.bayeux.
Message
asImmutable()
- Method in interface org.cometd.bayeux.server.
ServerMessage.Mutable
asMutable()
- Method in interface org.cometd.bayeux.server.
ServerMessage
ATTRIBUTE
- Static variable in interface org.cometd.bayeux.server.
BayeuxServer
ServletContext attribute name used to obtain the Bayeux object
B
batch(Runnable)
- Method in interface org.cometd.bayeux.
Session
Run a Runnable in a batch.
Bayeux
- Interface in
org.cometd.bayeux
The Bayeux API.
BayeuxListener
- Interface in
org.cometd.bayeux
A Bayeux Listener.
BayeuxServer
- Interface in
org.cometd.bayeux.server
The Bayeux Server interface.
BayeuxServer.BayeuxServerListener
- Interface in
org.cometd.bayeux.server
BayeuxServer.ChannelListener
- Interface in
org.cometd.bayeux.server
BayeuxServer.Extension
- Interface in
org.cometd.bayeux.server
Extension API for bayeux server.
BayeuxServer.SessionListener
- Interface in
org.cometd.bayeux.server
BayeuxServer.SubscriptionListener
- Interface in
org.cometd.bayeux.server
C
canCreate(BayeuxServer, ServerSession, String, ServerMessage)
- Method in interface org.cometd.bayeux.server.
SecurityPolicy
Test if a message should be allowed to create a new Channel
canHandshake(BayeuxServer, ServerSession, ServerMessage)
- Method in interface org.cometd.bayeux.server.
SecurityPolicy
Test if a handshake message should be accepted.
canPublish(BayeuxServer, ServerSession, ServerChannel, ServerMessage)
- Method in interface org.cometd.bayeux.server.
SecurityPolicy
Test if a client can publish a message to a channel
canSubscribe(BayeuxServer, ServerSession, ServerChannel, ServerMessage)
- Method in interface org.cometd.bayeux.server.
SecurityPolicy
Test if a client is allowed to subscribe to a channel
Channel
- Interface in
org.cometd.bayeux
A Bayeux Channel.
CHANNEL_FIELD
- Static variable in interface org.cometd.bayeux.
Message
channelAdded(ServerChannel)
- Method in interface org.cometd.bayeux.server.
BayeuxServer.ChannelListener
channelRemoved(String)
- Method in interface org.cometd.bayeux.server.
BayeuxServer.ChannelListener
CLIENT_FIELD
- Static variable in interface org.cometd.bayeux.
Message
ClientSession
- Interface in
org.cometd.bayeux.client
Client Bayeux Session.
ClientSession.Extension
- Interface in
org.cometd.bayeux.client
Extension API for client session.
CONNECTION_TYPE_FIELD
- Static variable in interface org.cometd.bayeux.
Message
D
DATA_FIELD
- Static variable in interface org.cometd.bayeux.
Message
decRef()
- Method in interface org.cometd.bayeux.server.
ServerMessage
Decrement reference for the messsage.
deliver(Session, ServerMessage)
- Method in interface org.cometd.bayeux.server.
ServerSession
Deliver the message to the session listeners and queue.
deliver(Session, String, Object, Object)
- Method in interface org.cometd.bayeux.server.
ServerSession
Deliver the message to the session listeners and queue.
deQueue(ServerSession)
- Method in interface org.cometd.bayeux.server.
ServerSession.DeQueueListener
callback to notify that the queue is about to be sent to the client.
disconnect()
- Method in interface org.cometd.bayeux.server.
ServerSession
Disconnect this session.
disconnect()
- Method in interface org.cometd.bayeux.
Session
Disconnect the session
E
endBatch()
- Method in interface org.cometd.bayeux.
Session
Deprecated.
use
Session.batch(Runnable)
ERROR_FIELD
- Static variable in interface org.cometd.bayeux.
Message
EXT_FIELD
- Static variable in interface org.cometd.bayeux.
Message
G
getAdvice()
- Method in interface org.cometd.bayeux.
Message
getAdvice(boolean)
- Method in interface org.cometd.bayeux.
Message.Mutable
getAllowedTransports()
- Method in interface org.cometd.bayeux.
Bayeux
getAssociated()
- Method in interface org.cometd.bayeux.server.
ServerMessage
getAttribute(String)
- Method in interface org.cometd.bayeux.
Session
Get a named attribute
getAttributeNames()
- Method in interface org.cometd.bayeux.
Session
Get Attribute names.
getChannel(String)
- Method in interface org.cometd.bayeux.client.
ClientSession
Get a channel scoped by this session.
getChannel()
- Method in interface org.cometd.bayeux.
Message
getChannel(String)
- Method in interface org.cometd.bayeux.server.
BayeuxServer
getChannel(String, boolean)
- Method in interface org.cometd.bayeux.server.
BayeuxServer
getClientId()
- Method in interface org.cometd.bayeux.
Message
getCurrentTransport()
- Method in interface org.cometd.bayeux.server.
BayeuxServer
Get the current transport for the current thread.
getData()
- Method in interface org.cometd.bayeux.
Message
getDataAsMap()
- Method in interface org.cometd.bayeux.
Message
getDataAsMap(boolean)
- Method in interface org.cometd.bayeux.
Message.Mutable
getExt()
- Method in interface org.cometd.bayeux.
Message
getExt(boolean)
- Method in interface org.cometd.bayeux.
Message.Mutable
getId()
- Method in interface org.cometd.bayeux.
Channel
getId()
- Method in interface org.cometd.bayeux.
Message
getId()
- Method in interface org.cometd.bayeux.
Session
The ClientId of the session.
getJSON()
- Method in interface org.cometd.bayeux.
Message
getKnownTransportNames()
- Method in interface org.cometd.bayeux.
Bayeux
getLocalSession()
- Method in interface org.cometd.bayeux.server.
ServerSession
Get the local session.
getName()
- Method in interface org.cometd.bayeux.
Transport
getOption(String)
- Method in interface org.cometd.bayeux.
Bayeux
getOption(String)
- Method in interface org.cometd.bayeux.
Transport
getOptionNames()
- Method in interface org.cometd.bayeux.
Bayeux
getOptionNames()
- Method in interface org.cometd.bayeux.
Transport
getOptionPrefix()
- Method in interface org.cometd.bayeux.
Transport
getQueue()
- Method in interface org.cometd.bayeux.server.
ServerSession
Get the session message queue.
getSecurityPolicy()
- Method in interface org.cometd.bayeux.server.
BayeuxServer
getServerSession()
- Method in interface org.cometd.bayeux.server.
LocalSession
getSession()
- Method in interface org.cometd.bayeux.client.
SessionChannel
getSession(String)
- Method in interface org.cometd.bayeux.server.
BayeuxServer
Get a server session my ID
getSubscribers()
- Method in interface org.cometd.bayeux.server.
ServerChannel
getTransport(String)
- Method in interface org.cometd.bayeux.
Bayeux
Get a transport
H
handshake()
- Method in interface org.cometd.bayeux.client.
ClientSession
Initiates the bayeux protocol handshake with the server(s).
handshake(Map<String, Object>)
- Method in interface org.cometd.bayeux.client.
ClientSession
Initiates the bayeux protocol handshake with the server(s).
I
ID_FIELD
- Static variable in interface org.cometd.bayeux.
Message
incRef()
- Method in interface org.cometd.bayeux.server.
ServerMessage
Increment reference count for the messsage.
INTERVAL_FIELD
- Static variable in interface org.cometd.bayeux.
Message
isBroadcast()
- Method in interface org.cometd.bayeux.server.
ServerChannel
isConnected()
- Method in interface org.cometd.bayeux.
Session
isDeepWild()
- Method in interface org.cometd.bayeux.
Channel
The ServerChannel is deeply wild if it was obtained via an ID ending with "/**".
isLazy()
- Method in interface org.cometd.bayeux.server.
ServerChannel
isLazy()
- Method in interface org.cometd.bayeux.server.
ServerMessage
isLocalSession()
- Method in interface org.cometd.bayeux.server.
ServerSession
isMeta()
- Method in interface org.cometd.bayeux.
Channel
isMeta()
- Method in interface org.cometd.bayeux.
Message
isPersistent()
- Method in interface org.cometd.bayeux.server.
ServerChannel
isService()
- Method in interface org.cometd.bayeux.
Channel
isSuccessful()
- Method in interface org.cometd.bayeux.
Message
isWild()
- Method in interface org.cometd.bayeux.
Channel
The ServerChannel is wild if it was obtained via an ID ending with "/*".
L
LocalSession
- Interface in
org.cometd.bayeux.server
A LocalSession is a ClientSession within the server.
M
Message
- Interface in
org.cometd.bayeux
Bayeux Message interface.
Message.Mutable
- Interface in
org.cometd.bayeux
META_CONNECT
- Static variable in interface org.cometd.bayeux.
Channel
META_DISCONNECT
- Static variable in interface org.cometd.bayeux.
Channel
META_HANDSHAKE
- Static variable in interface org.cometd.bayeux.
Channel
META_SUBSCRIBE
- Static variable in interface org.cometd.bayeux.
Channel
META_UNSUBSCRIBE
- Static variable in interface org.cometd.bayeux.
Channel
MIN_VERSION_FIELD
- Static variable in interface org.cometd.bayeux.
Message
N
newLocalSession(String)
- Method in interface org.cometd.bayeux.server.
BayeuxServer
Create a local session.
newMessage()
- Method in interface org.cometd.bayeux.server.
BayeuxServer
Create a new Message.
O
onMessage(ClientSession, Message)
- Method in interface org.cometd.bayeux.client.
SessionChannel.MessageListener
onMessage(SessionChannel, Message)
- Method in interface org.cometd.bayeux.client.
SessionChannel.SubscriberListener
onMessage(ServerSession, ServerChannel, ServerMessage.Mutable)
- Method in interface org.cometd.bayeux.server.
ServerChannel.MessageListener
onMessage(ServerSession, ServerSession, ServerMessage)
- Method in interface org.cometd.bayeux.server.
ServerSession.MessageListener
Listener called before each message is queued.
onMetaMessage(SessionChannel, Message, boolean, String)
- Method in interface org.cometd.bayeux.client.
SessionChannel.MetaChannelListener
org.cometd.bayeux
- package org.cometd.bayeux
org.cometd.bayeux.client
- package org.cometd.bayeux.client
org.cometd.bayeux.server
- package org.cometd.bayeux.server
P
publish(Object)
- Method in interface org.cometd.bayeux.client.
SessionChannel
publish(Object, Object)
- Method in interface org.cometd.bayeux.client.
SessionChannel
publish(Session, ServerMessage)
- Method in interface org.cometd.bayeux.server.
ServerChannel
Publish a message to the channel.
publish(Session, Object, Object)
- Method in interface org.cometd.bayeux.server.
ServerChannel
Publish a message to the channel.
Q
queueMaxed(ServerSession, Session, Message)
- Method in interface org.cometd.bayeux.server.
ServerSession.MaxQueueListener
Call back to notify if a message for a client will result in the message queue exceeding
Session#getMaxQueue()
.
R
rcv(ClientSession, Message.Mutable)
- Method in interface org.cometd.bayeux.client.
ClientSession.Extension
Callback method invoked every time a normal message is incoming.
rcv(ServerSession, ServerMessage.Mutable)
- Method in interface org.cometd.bayeux.server.
BayeuxServer.Extension
Callback method invoked every time a normal message is incoming.
rcv(ServerSession, ServerMessage.Mutable)
- Method in interface org.cometd.bayeux.server.
ServerSession.Extension
Callback method invoked every time a normal message is incoming.
rcvMeta(ClientSession, Message.Mutable)
- Method in interface org.cometd.bayeux.client.
ClientSession.Extension
Callback method invoked every time a meta message is incoming.
rcvMeta(ServerSession, ServerMessage.Mutable)
- Method in interface org.cometd.bayeux.server.
BayeuxServer.Extension
Callback method invoked every time a meta message is incoming.
rcvMeta(ServerSession, ServerMessage.Mutable)
- Method in interface org.cometd.bayeux.server.
ServerSession.Extension
Callback method invoked every time a meta message is incoming.
RECONNECT_FIELD
- Static variable in interface org.cometd.bayeux.
Message
RECONNECT_HANDSHAKE_VALUE
- Static variable in interface org.cometd.bayeux.
Message
RECONNECT_NONE_VALUE
- Static variable in interface org.cometd.bayeux.
Message
RECONNECT_RETRY_VALUE
- Static variable in interface org.cometd.bayeux.
Message
remove()
- Method in interface org.cometd.bayeux.server.
ServerChannel
Remove a channel
removeAttribute(String)
- Method in interface org.cometd.bayeux.
Session
Remove a session attribute
removed(ServerSession, boolean)
- Method in interface org.cometd.bayeux.server.
ServerSession.RemoveListener
removeListener(SessionChannel.SessionChannelListener)
- Method in interface org.cometd.bayeux.client.
SessionChannel
removeListener(BayeuxServer.BayeuxServerListener)
- Method in interface org.cometd.bayeux.server.
BayeuxServer
removeListener(ServerChannel.ServerChannelListener)
- Method in interface org.cometd.bayeux.server.
ServerChannel
removeListener(ServerSession.ServerSessionListener)
- Method in interface org.cometd.bayeux.server.
ServerSession
S
SecurityPolicy
- Interface in
org.cometd.bayeux.server
Plugable security policy for Bayeux
send(ClientSession, Message.Mutable)
- Method in interface org.cometd.bayeux.client.
ClientSession.Extension
Callback method invoked every time a normal message is outgoing.
send(ServerMessage.Mutable)
- Method in interface org.cometd.bayeux.server.
BayeuxServer.Extension
Callback method invoked every time a normal message is outgoing.
send(ServerSession, ServerMessage)
- Method in interface org.cometd.bayeux.server.
ServerSession.Extension
Callback method invoked every time a normal message is outgoing.
sendMeta(ClientSession, Message.Mutable)
- Method in interface org.cometd.bayeux.client.
ClientSession.Extension
Callback method invoked every time a meta message is outgoing.
sendMeta(ServerSession, ServerMessage.Mutable)
- Method in interface org.cometd.bayeux.server.
BayeuxServer.Extension
Callback method invoked every time a meta message is outgoing.
sendMeta(ServerSession, ServerMessage.Mutable)
- Method in interface org.cometd.bayeux.server.
ServerSession.Extension
Callback method invoked every time a meta message is outgoing.
ServerChannel
- Interface in
org.cometd.bayeux.server
Server side representation of a Bayeux Channel.
ServerChannel.MessageListener
- Interface in
org.cometd.bayeux.server
ServerChannel.ServerChannelListener
- Interface in
org.cometd.bayeux.server
ServerChannel.SubscriptionListener
- Interface in
org.cometd.bayeux.server
ServerMessage
- Interface in
org.cometd.bayeux.server
Representation of server side message.
ServerMessage.Mutable
- Interface in
org.cometd.bayeux.server
Updateable ServerMessage
ServerSession
- Interface in
org.cometd.bayeux.server
Bayeux Server Session.
ServerSession.DeQueueListener
- Interface in
org.cometd.bayeux.server
ServerSession.Extension
- Interface in
org.cometd.bayeux.server
ServerSession.MaxQueueListener
- Interface in
org.cometd.bayeux.server
ServerSession.MessageListener
- Interface in
org.cometd.bayeux.server
Queue a message listener
ServerSession.RemoveListener
- Interface in
org.cometd.bayeux.server
Queue a message listener
ServerSession.ServerSessionListener
- Interface in
org.cometd.bayeux.server
SERVICE
- Static variable in interface org.cometd.bayeux.
Message
Session
- Interface in
org.cometd.bayeux
A Bayeux Session
sessionAdded(ServerSession)
- Method in interface org.cometd.bayeux.server.
BayeuxServer.SessionListener
SessionChannel
- Interface in
org.cometd.bayeux.client
A Channel scoped to a Session.
SessionChannel.MessageListener
- Interface in
org.cometd.bayeux.client
SessionChannel.MetaChannelListener
- Interface in
org.cometd.bayeux.client
SessionChannel.SessionChannelListener
- Interface in
org.cometd.bayeux.client
SessionChannel.SubscriberListener
- Interface in
org.cometd.bayeux.client
sessionRemoved(ServerSession, boolean)
- Method in interface org.cometd.bayeux.server.
BayeuxServer.SessionListener
setAssociated(ServerMessage)
- Method in interface org.cometd.bayeux.server.
ServerMessage.Mutable
setAttribute(String, Object)
- Method in interface org.cometd.bayeux.
Session
Set a session attribute.
setChannel(String)
- Method in interface org.cometd.bayeux.
Message.Mutable
setClientId(String)
- Method in interface org.cometd.bayeux.
Message.Mutable
setData(Object)
- Method in interface org.cometd.bayeux.
Message.Mutable
setId(Object)
- Method in interface org.cometd.bayeux.
Message.Mutable
setLazy(boolean)
- Method in interface org.cometd.bayeux.server.
ServerChannel
Set lazy channel
setLazy(boolean)
- Method in interface org.cometd.bayeux.server.
ServerMessage.Mutable
setOption(String, Object)
- Method in interface org.cometd.bayeux.
Bayeux
setPersistent(boolean)
- Method in interface org.cometd.bayeux.server.
ServerChannel
Set persistent channel
setSecurityPolicy(SecurityPolicy)
- Method in interface org.cometd.bayeux.server.
BayeuxServer
setSuccessful(boolean)
- Method in interface org.cometd.bayeux.
Message.Mutable
startBatch()
- Method in interface org.cometd.bayeux.
Session
Deprecated.
use
Session.batch(Runnable)
subscribe(SessionChannel.SubscriberListener)
- Method in interface org.cometd.bayeux.client.
SessionChannel
subscribed(ServerSession, ServerChannel)
- Method in interface org.cometd.bayeux.server.
BayeuxServer.SubscriptionListener
subscribed(ServerSession, ServerChannel)
- Method in interface org.cometd.bayeux.server.
ServerChannel.SubscriptionListener
SUBSCRIPTION_FIELD
- Static variable in interface org.cometd.bayeux.
Message
SUCCESSFUL_FIELD
- Static variable in interface org.cometd.bayeux.
Message
SUPPORTED_CONNECTION_TYPES_FIELD
- Static variable in interface org.cometd.bayeux.
Message
T
TIMESTAMP_FIELD
- Static variable in interface org.cometd.bayeux.
Message
Transport
- Interface in
org.cometd.bayeux
TRANSPORT_FIELD
- Static variable in interface org.cometd.bayeux.
Message
U
unsubscribe(SessionChannel.SubscriberListener)
- Method in interface org.cometd.bayeux.client.
SessionChannel
unsubscribe()
- Method in interface org.cometd.bayeux.client.
SessionChannel
unsubscribed(ServerSession, ServerChannel)
- Method in interface org.cometd.bayeux.server.
BayeuxServer.SubscriptionListener
unsubscribed(ServerSession, ServerChannel)
- Method in interface org.cometd.bayeux.server.
ServerChannel.SubscriptionListener
V
VERSION_FIELD
- Static variable in interface org.cometd.bayeux.
Message
A
B
C
D
E
G
H
I
L
M
N
O
P
Q
R
S
T
U
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2010
Dojo Foundation
. All Rights Reserved.