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

A

Adapter() - Constructor for class org.cometd.bayeux.client.ClientSession.Extension.Adapter
Deprecated.
 
Adapter() - Constructor for class org.cometd.bayeux.server.BayeuxServer.Extension.Adapter
Deprecated.
 
Adapter() - Constructor for class org.cometd.bayeux.server.ServerSession.Extension.Adapter
Deprecated.
 
addAuthorizer(Authorizer) - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel
Adds the given Authorizer that grants or denies operations on this channel.
addExtension(ClientSession.Extension) - Method in interface org.cometd.bayeux.client.ClientSession
Adds an 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
Adds the given extension to this session.
addListener(ClientSessionChannel.ClientSessionChannelListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Adds a listener to this channel.
addListener(BayeuxServer.BayeuxServerListener) - Method in interface org.cometd.bayeux.server.BayeuxServer
Adds a listener to this Bayeux object.
addListener(ConfigurableServerChannel.ServerChannelListener) - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel
 
addListener(ServerSession.ServerSessionListener) - Method in interface org.cometd.bayeux.server.ServerSession
Adds the given listener to this session.
ADVICE_FIELD - Static variable in interface org.cometd.bayeux.Message
 
asByteBuffer() - Method in class org.cometd.bayeux.BinaryData
 
asBytes() - Method in class org.cometd.bayeux.BinaryData
 
ATTRIBUTE - Static variable in interface org.cometd.bayeux.server.BayeuxServer
ServletContext attribute name used to obtain the Bayeux object
authorize(Authorizer.Operation, ChannelId, ServerSession, ServerMessage) - Method in interface org.cometd.bayeux.server.Authorizer
authorize(Authorizer.Operation, ChannelId, ServerSession, ServerMessage, Promise<Authorizer.Result>) - Method in interface org.cometd.bayeux.server.Authorizer
Callback invoked to authorize the given operation on the given channel.
Authorizer - Interface in org.cometd.bayeux.server
Authorizer.Operation - Enum in org.cometd.bayeux.server
Operations that are to be authorized on a channel
Authorizer.Result - Class in org.cometd.bayeux.server
The result of an authentication request.
Authorizer.Result.Denied - Class in org.cometd.bayeux.server
 
Authorizer.Result.Granted - Class in org.cometd.bayeux.server
 
Authorizer.Result.Ignored - Class in org.cometd.bayeux.server
 

B

batch(Runnable) - Method in interface org.cometd.bayeux.Session
Executes the given command in a batch so that any Bayeux message sent by the command (via the Bayeux API) is queued up until the end of the command and then all messages are sent at once.
Bayeux - Interface in org.cometd.bayeux
The Bayeux interface is the common API for both client-side and server-side configuration and usage of the Bayeux object.
Bayeux.BayeuxListener - Interface in org.cometd.bayeux
The common base interface for Bayeux listeners.
BayeuxContext - Interface in org.cometd.bayeux.server
The Bayeux Context provides information about the current context of a Bayeux message.
BayeuxServer - Interface in org.cometd.bayeux.server
The server-side Bayeux interface.
BayeuxServer.BayeuxServerListener - Interface in org.cometd.bayeux.server
Common base interface for all server-side Bayeux listeners.
BayeuxServer.ChannelListener - Interface in org.cometd.bayeux.server
Specialized listener for ServerChannel events.
BayeuxServer.Extension - Interface in org.cometd.bayeux.server
Extension API for BayeuxServer.
BayeuxServer.Extension.Adapter - Class in org.cometd.bayeux.server
Deprecated.
BayeuxServer.SessionListener - Interface in org.cometd.bayeux.server
Specialized listener for ServerSession events.
BayeuxServer.SubscriptionListener - Interface in org.cometd.bayeux.server
Specialized listener for ServerChannel subscription events.
BinaryData - Class in org.cometd.bayeux
Reified representation of binary data chunk contained in a message.
BinaryData(byte[], boolean, Map<String, Object>) - Constructor for class org.cometd.bayeux.BinaryData
 
BinaryData(ByteBuffer, boolean, Map<String, Object>) - Constructor for class org.cometd.bayeux.BinaryData
 
BinaryData(Map<? extends String, ?>) - Constructor for class org.cometd.bayeux.BinaryData
 
bind(ChannelId) - Method in class org.cometd.bayeux.ChannelId
If this ChannelId is a template, and the given target ChannelId is non-wild and non-template, and the two have the same ChannelId.depth(), then binds the variable(s) defined in this template with the values of the segments defined by the target ChannelId.

C

canCreate(BayeuxServer, ServerSession, String, ServerMessage) - Method in interface org.cometd.bayeux.server.SecurityPolicy
canCreate(BayeuxServer, ServerSession, String, ServerMessage, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.SecurityPolicy
Checks if a message should be allowed to create a new channel.
canHandshake(BayeuxServer, ServerSession, ServerMessage) - Method in interface org.cometd.bayeux.server.SecurityPolicy
canHandshake(BayeuxServer, ServerSession, ServerMessage, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.SecurityPolicy
Checks if a handshake message should be accepted.
canPublish(BayeuxServer, ServerSession, ServerChannel, ServerMessage) - Method in interface org.cometd.bayeux.server.SecurityPolicy
canPublish(BayeuxServer, ServerSession, ServerChannel, ServerMessage, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.SecurityPolicy
Checks if a client can publish a message to a channel.
canSubscribe(BayeuxServer, ServerSession, ServerChannel, ServerMessage) - Method in interface org.cometd.bayeux.server.SecurityPolicy
canSubscribe(BayeuxServer, ServerSession, ServerChannel, ServerMessage, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.SecurityPolicy
Checks if a subscribe message from a client is allowed to subscribe to a channel.
Channel - Interface in org.cometd.bayeux
A Bayeux channel is the primary message routing mechanism within Bayeux: both Bayeux clients and Bayeux server use channels to group listeners that are interested in receiving messages with that channel.
CHANNEL_FIELD - Static variable in interface org.cometd.bayeux.Message
 
channelAdded(ServerChannel) - Method in interface org.cometd.bayeux.server.BayeuxServer.ChannelListener
Callback invoked when a ServerChannel has been added to a BayeuxServer object.
ChannelId - Class in org.cometd.bayeux
Reification of a channel id with methods to test properties and compare with other ChannelIds.
ChannelId(String) - Constructor for class org.cometd.bayeux.ChannelId
Constructs a new ChannelId with the given id
channelRemoved(String) - Method in interface org.cometd.bayeux.server.BayeuxServer.ChannelListener
Callback invoked when a ServerChannel has been removed from a BayeuxServer object.
CLIENT_ID_FIELD - Static variable in interface org.cometd.bayeux.Message
 
ClientSession - Interface in org.cometd.bayeux.client
This interface represents the client side Bayeux session.
ClientSession.Extension - Interface in org.cometd.bayeux.client
Extension API for client session.
ClientSession.Extension.Adapter - Class in org.cometd.bayeux.client
Deprecated.
ClientSession.MessageListener - Interface in org.cometd.bayeux.client
A listener for remote call messages.
ClientSessionChannel - Interface in org.cometd.bayeux.client
A client side channel representation.
ClientSessionChannel.ClientSessionChannelListener - Interface in org.cometd.bayeux.client
Represents a listener on a ClientSessionChannel.
ClientSessionChannel.MessageListener - Interface in org.cometd.bayeux.client
A listener for messages on a ClientSessionChannel.
Completable() - Constructor for class org.cometd.bayeux.Promise.Completable
 
ConfigurableServerChannel - Interface in org.cometd.bayeux.server
A ConfigurableServerChannel offers an API that can be used to configure ServerChannels at creation time.
ConfigurableServerChannel.Initializer - Interface in org.cometd.bayeux.server
A listener interface by means of which listeners can atomically set the initial configuration of a channel.
ConfigurableServerChannel.Initializer.Persistent - Class in org.cometd.bayeux.server
Utility class that initializes channels to be persistent
ConfigurableServerChannel.ServerChannelListener - Interface in org.cometd.bayeux.server
Common interface for ServerChannel listeners.
ConfigurableServerChannel.ServerChannelListener.Weak - Interface in org.cometd.bayeux.server
Tag interface that marks ConfigurableServerChannel.ServerChannelListeners as "weak".
configureChannel(ConfigurableServerChannel) - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel.Initializer
Callback invoked when a channel is created and needs to be configured
configureChannel(ConfigurableServerChannel) - Method in class org.cometd.bayeux.server.ConfigurableServerChannel.Initializer.Persistent
 
CONNECTION_TYPE_FIELD - Static variable in interface org.cometd.bayeux.Message
 
CREATE - org.cometd.bayeux.server.Authorizer.Operation
The operation to create a channel that does not exist
createChannelIfAbsent(String, ConfigurableServerChannel.Initializer...) - Method in interface org.cometd.bayeux.server.BayeuxServer
Creates a ServerChannel and initializes it atomically if the channel does not exist, or returns it if it already exists.

D

DATA - Static variable in class org.cometd.bayeux.BinaryData
 
DATA_FIELD - Static variable in interface org.cometd.bayeux.Message
 
DEEPWILD - Static variable in class org.cometd.bayeux.ChannelId
 
deliver(Session, String, Object) - Method in interface org.cometd.bayeux.server.ServerSession
deliver(Session, String, Object, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.ServerSession
Delivers the given information to this session.
deliver(Session, ServerMessage.Mutable) - Method in interface org.cometd.bayeux.server.ServerSession
deliver(Session, ServerMessage.Mutable, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.ServerSession
Delivers the given message to this session.
deny(String) - Static method in class org.cometd.bayeux.server.Authorizer.Result
 
depth() - Method in class org.cometd.bayeux.ChannelId
 
deQueue(ServerSession, Queue<ServerMessage>) - Method in interface org.cometd.bayeux.server.ServerSession.DeQueueListener
Callback invoked to notify that the queue of messages is about to be sent to the remote client.
disconnect() - Method in interface org.cometd.bayeux.client.ClientSession
 
disconnect() - Method in interface org.cometd.bayeux.Session
Disconnects this session, ending the link between the client and the server peers.
disconnect(ClientSession.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSession
Disconnects this session, ending the link between the client and the server peers.
disconnect(ClientSessionChannel.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSession

E

empty() - Static method in class org.cometd.bayeux.MarkedReference
 
endBatch() - Method in interface org.cometd.bayeux.Session
Ends a batch started with Session.startBatch().
equals(Object) - Method in class org.cometd.bayeux.ChannelId
 
ERROR_FIELD - Static variable in interface org.cometd.bayeux.Message
 
EXT_FIELD - Static variable in interface org.cometd.bayeux.Message
 
EXT_NAME - Static variable in class org.cometd.bayeux.BinaryData
 

F

fail(Throwable) - Method in class org.cometd.bayeux.Promise.Completable
 
fail(Throwable) - Method in interface org.cometd.bayeux.Promise
Callback to invoke when the operation fails.
from(Consumer<T>, Consumer<Throwable>) - Static method in interface org.cometd.bayeux.Promise
 

G

getAdvice() - Method in interface org.cometd.bayeux.Message
Convenience method to retrieve the Message.ADVICE_FIELD
getAdvice(boolean) - Method in interface org.cometd.bayeux.Message.Mutable
Convenience method to retrieve the Message.ADVICE_FIELD and create it if it does not exist
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.Channel
Retrieves the value of named channel attribute.
getAttribute(String) - Method in interface org.cometd.bayeux.Session
Retrieves the value of named session attribute.
getAttributeNames() - Method in interface org.cometd.bayeux.Channel
 
getAttributeNames() - Method in interface org.cometd.bayeux.Session
 
getAuthorizers() - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel
 
getChannel() - Method in interface org.cometd.bayeux.Message
Convenience method to retrieve the Message.CHANNEL_FIELD.
getChannel(String) - Method in interface org.cometd.bayeux.client.ClientSession
Returns a client side channel scoped by this session.
getChannel(String) - Method in interface org.cometd.bayeux.server.BayeuxServer
 
getChannelId() - Method in interface org.cometd.bayeux.Channel
 
getChannelId() - Method in interface org.cometd.bayeux.Message
Convenience method to retrieve the Message.CHANNEL_FIELD.
getChannels() - Method in interface org.cometd.bayeux.server.BayeuxServer
 
getClientId() - Method in interface org.cometd.bayeux.Message
Convenience method to retrieve the Message.CLIENT_ID_FIELD
getContext() - Method in interface org.cometd.bayeux.server.BayeuxServer
 
getContext() - Method in interface org.cometd.bayeux.server.ServerTransport
 
getContextAttribute(String) - Method in interface org.cometd.bayeux.server.BayeuxContext
Access the ServletContext (if any) attributes.
getContextInitParameter(String) - Method in interface org.cometd.bayeux.server.BayeuxContext
Access the ServletContext (if any) init parameter.
getContextPath() - Method in interface org.cometd.bayeux.server.BayeuxContext
 
getCookie(String) - Method in interface org.cometd.bayeux.server.BayeuxContext
Get a transport cookie.
getCurrentTransport() - Method in interface org.cometd.bayeux.server.BayeuxServer
 
getData() - Method in interface org.cometd.bayeux.Message
Convenience method to retrieve the Message.DATA_FIELD
getDataAsMap() - Method in interface org.cometd.bayeux.Message
 
getDataAsMap(boolean) - Method in interface org.cometd.bayeux.Message.Mutable
Convenience method to retrieve the Message.DATA_FIELD and create it if it does not exist
getExt() - Method in interface org.cometd.bayeux.Message
Convenience method to retrieve the Message.EXT_FIELD
getExt(boolean) - Method in interface org.cometd.bayeux.Message.Mutable
Convenience method to retrieve the Message.EXT_FIELD and create it if it does not exist
getExtensions() - Method in interface org.cometd.bayeux.client.ClientSession
 
getExtensions() - Method in interface org.cometd.bayeux.server.BayeuxServer
 
getExtensions() - Method in interface org.cometd.bayeux.server.ServerSession
 
getHeader(String) - Method in interface org.cometd.bayeux.server.BayeuxContext
Get a transport header.
getHeaderValues(String) - Method in interface org.cometd.bayeux.server.BayeuxContext
Get a multi valued transport header.
getHttpSessionAttribute(String) - Method in interface org.cometd.bayeux.server.BayeuxContext
Access the HTTP Session (if any) attributes.
getHttpSessionId() - Method in interface org.cometd.bayeux.server.BayeuxContext
Access the HTTP Session (if any) ID.
getId() - Method in interface org.cometd.bayeux.Channel
 
getId() - Method in class org.cometd.bayeux.ChannelId
Returns the normalized channel id string.
getId() - Method in interface org.cometd.bayeux.Message
Convenience method to retrieve the Message.ID_FIELD
getId() - Method in interface org.cometd.bayeux.Session
The clientId of the session.
getInterval() - Method in interface org.cometd.bayeux.server.ServerSession
 
getInterval() - Method in interface org.cometd.bayeux.server.ServerTransport
 
getJSON() - Method in interface org.cometd.bayeux.Message
 
getKnownTransportNames() - Method in interface org.cometd.bayeux.Bayeux
 
getLazyTimeout() - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel
 
getListeners() - Method in interface org.cometd.bayeux.client.ClientSessionChannel
 
getListeners() - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel
 
getLocalAddress() - Method in interface org.cometd.bayeux.server.BayeuxContext
 
getLocales() - Method in interface org.cometd.bayeux.server.BayeuxContext
 
getLocalSession() - Method in interface org.cometd.bayeux.server.ServerSession
 
getMaxInterval() - Method in interface org.cometd.bayeux.server.ServerTransport
 
getMaxLazyTimeout() - Method in interface org.cometd.bayeux.server.ServerTransport
 
getMetaData() - Method in class org.cometd.bayeux.BinaryData
 
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
Specifies an option prefix made of string segments separated by the "." character, used to override more generic configuration entries.
getParameter(String) - Method in interface org.cometd.bayeux.server.BayeuxContext
Get a transport parameter.
getParameters() - Method in class org.cometd.bayeux.ChannelId
 
getParameterValues(String) - Method in interface org.cometd.bayeux.server.BayeuxContext
Get a multi valued transport parameter.
getParent() - Method in class org.cometd.bayeux.ChannelId
 
getProtocol() - Method in interface org.cometd.bayeux.server.BayeuxContext
 
getReason() - Method in class org.cometd.bayeux.server.Authorizer.Result.Denied
 
getReference() - Method in class org.cometd.bayeux.MarkedReference
 
getRegularPart() - Method in class org.cometd.bayeux.ChannelId
Returns the regular part of this ChannelId: the part of the channel id from the beginning until the first occurrence of a parameter or a wild character.
getRemoteAddress() - Method in interface org.cometd.bayeux.server.BayeuxContext
 
getRequestAttribute(String) - Method in interface org.cometd.bayeux.server.BayeuxContext
Access the Request (if any) attributes.
getSecurityPolicy() - Method in interface org.cometd.bayeux.server.BayeuxServer
 
getSegment(int) - Method in class org.cometd.bayeux.ChannelId
 
getServerSession() - Method in interface org.cometd.bayeux.server.LocalSession
 
getSession() - Method in interface org.cometd.bayeux.client.ClientSessionChannel
 
getSession(String) - Method in interface org.cometd.bayeux.server.BayeuxServer
 
getSessions() - Method in interface org.cometd.bayeux.server.BayeuxServer
 
getSubscribers() - Method in interface org.cometd.bayeux.client.ClientSessionChannel
 
getSubscribers() - Method in interface org.cometd.bayeux.server.ServerChannel
 
getSubscriptions() - Method in interface org.cometd.bayeux.server.ServerSession
 
getTimeout() - Method in interface org.cometd.bayeux.server.ServerSession
 
getTimeout() - Method in interface org.cometd.bayeux.server.ServerTransport
 
getTransport(String) - Method in interface org.cometd.bayeux.Bayeux
 
getURL() - Method in interface org.cometd.bayeux.server.BayeuxContext
 
getUserAgent() - Method in interface org.cometd.bayeux.server.ServerSession
 
getUserPrincipal() - Method in interface org.cometd.bayeux.server.BayeuxContext
 
getWilds() - Method in class org.cometd.bayeux.ChannelId
 
grant() - Static method in class org.cometd.bayeux.server.Authorizer.Result
 

H

handshake() - Method in interface org.cometd.bayeux.client.ClientSession
Equivalent to handshake(null).
handshake(Map<String, Object>) - Method in interface org.cometd.bayeux.client.ClientSession
handshake(Map<String, Object>, ClientSession.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSession
Initiates the bayeux protocol handshake with the server(s).
handshake(Map<String, Object>, ClientSessionChannel.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSession
hashCode() - Method in class org.cometd.bayeux.ChannelId
 

I

ID_FIELD - Static variable in interface org.cometd.bayeux.Message
 
ignore() - Static method in class org.cometd.bayeux.server.Authorizer.Result
 
incoming(ClientSession, Message.Mutable, Promise<Boolean>) - Method in interface org.cometd.bayeux.client.ClientSession.Extension
Callback method invoked every time a message is incoming.
incoming(ServerSession, ServerMessage.Mutable, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.BayeuxServer.Extension
Callback method invoked every time a message is incoming.
incoming(ServerSession, ServerMessage.Mutable, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.ServerSession.Extension
Callback method invoked every time a message is incoming.
INTERVAL_FIELD - Static variable in interface org.cometd.bayeux.Message
 
invalidateHttpSession() - Method in interface org.cometd.bayeux.server.BayeuxContext
Invalidate the HTTP Session.
isAncestorOf(ChannelId) - Method in class org.cometd.bayeux.ChannelId
 
isBroadcast() - Method in interface org.cometd.bayeux.Channel
A broadcasting channel is a channel that is neither a meta channel nor a service channel.
isBroadcast() - Method in class org.cometd.bayeux.ChannelId
 
isBroadcast(String) - Static method in class org.cometd.bayeux.ChannelId
Helper method to test if the string form of a ChannelId represents a broadcast ChannelId.
isConnected() - Method in interface org.cometd.bayeux.Session
A connected session is a session where the link between the client and the server has been established.
isDeepWild() - Method in interface org.cometd.bayeux.Channel
Tells whether a channel contains the deep wild characters '**', for example /foo/**
isDeepWild() - Method in class org.cometd.bayeux.ChannelId
Deep wild ChannelIds end with a double wild character "**" and match non wild channels with the same or greater depth.
isDenied() - Method in class org.cometd.bayeux.server.Authorizer.Result.Denied
 
isDenied() - Method in class org.cometd.bayeux.server.Authorizer.Result
 
isGranted() - Method in class org.cometd.bayeux.server.Authorizer.Result.Granted
 
isGranted() - Method in class org.cometd.bayeux.server.Authorizer.Result
 
isHandshook() - Method in interface org.cometd.bayeux.Session
A handshook session is a session where the handshake has successfully completed
isLast() - Method in class org.cometd.bayeux.BinaryData
 
isLazy() - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel
 
isLazy() - Method in interface org.cometd.bayeux.server.ServerMessage
 
isLocalSession() - Method in interface org.cometd.bayeux.server.ServerSession
 
isMarked() - Method in class org.cometd.bayeux.MarkedReference
 
isMeta() - Method in interface org.cometd.bayeux.Channel
Tells whether the channel is a meta channel, that is if its id starts with "/meta/".
isMeta() - Method in class org.cometd.bayeux.ChannelId
A ChannelId is a meta ChannelId if it starts with "/meta/".
isMeta() - Method in interface org.cometd.bayeux.Message
A messages that has a meta channel is dubbed a "meta message".
isMeta(String) - Static method in class org.cometd.bayeux.ChannelId
Helper method to test if the string form of a ChannelId represents a meta ChannelId.
isMetaConnectDeliveryOnly() - Method in interface org.cometd.bayeux.server.ServerTransport
 
isParentOf(ChannelId) - Method in class org.cometd.bayeux.ChannelId
 
isPersistent() - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel
 
isPublishReply() - Method in interface org.cometd.bayeux.Message
Publish message replies contain the "successful" field
isReleased() - Method in interface org.cometd.bayeux.client.ClientSessionChannel
 
isSecure() - Method in interface org.cometd.bayeux.server.BayeuxContext
 
isService() - Method in interface org.cometd.bayeux.Channel
Tells whether the channel is a service channel, that is if its id starts with "/service/".
isService() - Method in class org.cometd.bayeux.ChannelId
A ChannelId is a service ChannelId if it starts with "/service/".
isService(String) - Static method in class org.cometd.bayeux.ChannelId
Helper method to test if the string form of a ChannelId represents a service ChannelId.
isShallowWild() - Method in class org.cometd.bayeux.ChannelId
Shallow wild ChannelIds end with a single wild character "*" and match non wild channels with the same depth.
isSuccessful() - Method in interface org.cometd.bayeux.Message
Convenience method to retrieve the Message.SUCCESSFUL_FIELD
isTemplate() - Method in class org.cometd.bayeux.ChannelId
 
isUserInRole(String) - Method in interface org.cometd.bayeux.server.BayeuxContext
 
isWild() - Method in interface org.cometd.bayeux.Channel
Tells whether a channel contains the wild character '*', for example /foo/* or if it is Channel.isDeepWild().
isWild() - Method in class org.cometd.bayeux.ChannelId
 

L

LAST - Static variable in class org.cometd.bayeux.BinaryData
 
LocalSession - Interface in org.cometd.bayeux.server
A LocalSession is a ClientSession within the server.

M

MarkedReference<T> - Class in org.cometd.bayeux
Immutable, non-volatile, non-atomic version of AtomicMarkableReference.
MarkedReference(T, boolean) - Constructor for class org.cometd.bayeux.MarkedReference
 
matches(ChannelId) - Method in class org.cometd.bayeux.ChannelId
Tests whether this ChannelId matches the given ChannelId.
MAX_INTERVAL_FIELD - Static variable in interface org.cometd.bayeux.Message
 
Message - Interface in org.cometd.bayeux
The Bayeux protocol exchange information by means of messages.
Message.Mutable - Interface in org.cometd.bayeux
The mutable version of a Message
META - Static variable in class org.cometd.bayeux.BinaryData
 
META - Static variable in interface org.cometd.bayeux.Channel
Constant representing the meta prefix
META_CONNECT - Static variable in interface org.cometd.bayeux.Channel
Constant representing the connect meta channel
META_DISCONNECT - Static variable in interface org.cometd.bayeux.Channel
Constant representing the disconnect meta channel
META_HANDSHAKE - Static variable in interface org.cometd.bayeux.Channel
Constant representing the handshake meta channel.
META_SUBSCRIBE - Static variable in interface org.cometd.bayeux.Channel
Constant representing the subscribe meta channel
META_UNSUBSCRIBE - Static variable in interface org.cometd.bayeux.Channel
Constant representing the unsubscribe meta channel
MIN_VERSION_FIELD - Static variable in interface org.cometd.bayeux.Message
 

N

newLocalSession(String) - Method in interface org.cometd.bayeux.server.BayeuxServer
Creates a new LocalSession.
newMessage() - Method in interface org.cometd.bayeux.server.BayeuxServer
 
noop() - Static method in interface org.cometd.bayeux.Promise
 
NOOP - Static variable in interface org.cometd.bayeux.client.ClientSession.MessageListener
 
NOOP - Static variable in interface org.cometd.bayeux.Promise
Shared instance whose methods are implemented empty,

O

onMessage(ClientSessionChannel, Message) - Method in interface org.cometd.bayeux.client.ClientSessionChannel.MessageListener
Callback invoked when a message is received on the given channel.
onMessage(Message) - Method in interface org.cometd.bayeux.client.ClientSession.MessageListener
Callback invoked when a remote call response is received.
onMessage(ServerSession, ServerChannel, ServerMessage.Mutable) - Method in interface org.cometd.bayeux.server.ServerChannel.MessageListener
onMessage(ServerSession, ServerChannel, ServerMessage.Mutable, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.ServerChannel.MessageListener
Callback invoked when a message is being published.
onMessage(ServerSession, ServerSession, ServerMessage) - Method in interface org.cometd.bayeux.server.ServerSession.MessageListener
onMessage(ServerSession, ServerSession, ServerMessage, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.ServerSession.MessageListener
Callback invoked when a message is sent.
onResumed(ServerSession, ServerMessage, boolean) - Method in interface org.cometd.bayeux.server.ServerSession.HeartBeatListener
Callback invoked to notify that a /meta/connect message has been resumed.
onSuspended(ServerSession, ServerMessage, long) - Method in interface org.cometd.bayeux.server.ServerSession.HeartBeatListener
Callback invoked to notify that a /meta/connect message has been suspended.
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
 
outgoing(ClientSession, Message.Mutable, Promise<Boolean>) - Method in interface org.cometd.bayeux.client.ClientSession.Extension
Callback method invoked every time a message is outgoing.
outgoing(ServerSession, ServerMessage.Mutable, Promise<ServerMessage.Mutable>) - Method in interface org.cometd.bayeux.server.ServerSession.Extension
Callback method invoked every time a message is outgoing.
outgoing(ServerSession, ServerSession, ServerMessage.Mutable, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.BayeuxServer.Extension
Callback method invoked every time a message is outgoing.

P

Persistent() - Constructor for class org.cometd.bayeux.server.ConfigurableServerChannel.Initializer.Persistent
 
Promise<C> - Interface in org.cometd.bayeux
 
Promise.Completable<S> - Class in org.cometd.bayeux
A CompletableFuture that is also a Promise.
publish(Object) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Publishes the given data onto this channel.
publish(Object, ClientSession.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Publishes the given data onto this channel, notifying the given callback of the publish result, whether successful or unsuccessful.
publish(Object, ClientSessionChannel.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
publish(Message.Mutable, ClientSession.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Publishes the given message onto this channel, notifying the given callback of the publish result.
publish(Message.Mutable, ClientSessionChannel.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
publish(Session, Object) - Method in interface org.cometd.bayeux.server.ServerChannel
publish(Session, Object, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.ServerChannel
Publishes the given information to this channel.
publish(Session, ServerMessage.Mutable) - Method in interface org.cometd.bayeux.server.ServerChannel
publish(Session, ServerMessage.Mutable, Promise<Boolean>) - Method in interface org.cometd.bayeux.server.ServerChannel
Publishes the given message to this channel, delivering the message to all the ServerSessions subscribed to this channel.
PUBLISH - org.cometd.bayeux.server.Authorizer.Operation
The operation to publish messages to a channel

Q

queued(ServerSession, ServerMessage) - Method in interface org.cometd.bayeux.server.ServerSession.QueueListener
Callback invoked when a message is queued in the session queue.
queueMaxed(ServerSession, Queue<ServerMessage>, ServerSession, Message) - Method in interface org.cometd.bayeux.server.ServerSession.MaxQueueListener
Callback invoked to notify when the message queue is exceeding the value configured for the transport with the option "maxQueue".

R

rcv(ClientSession, Message.Mutable) - Method in interface org.cometd.bayeux.client.ClientSession.Extension
Callback method invoked every time a normal message is received.
rcv(ServerSession, ServerMessage.Mutable) - Method in interface org.cometd.bayeux.server.BayeuxServer.Extension
rcv(ServerSession, ServerMessage.Mutable) - Method in interface org.cometd.bayeux.server.ServerSession.Extension
rcvMeta(ClientSession, Message.Mutable) - Method in interface org.cometd.bayeux.client.ClientSession.Extension
Callback method invoked every time a meta message is received.
rcvMeta(ServerSession, ServerMessage.Mutable) - Method in interface org.cometd.bayeux.server.BayeuxServer.Extension
rcvMeta(ServerSession, ServerMessage.Mutable) - Method in interface org.cometd.bayeux.server.ServerSession.Extension
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
 
release() - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Releases this channel from its ClientSession.
remoteCall(String, Object, ClientSession.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSession
Performs a remote call to the server, to the specified target, and with the given data as payload.
remove() - Method in interface org.cometd.bayeux.server.ServerChannel
Removes this channel, and all the children channels.
removeAttribute(String) - Method in interface org.cometd.bayeux.Channel
Removes a named channel attribute.
removeAttribute(String) - Method in interface org.cometd.bayeux.Session
Removes a named session attribute.
removeAuthorizer(Authorizer) - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel
Removes the given Authorizer.
removed(ServerSession, boolean) - Method in interface org.cometd.bayeux.server.ServerSession.RemoveListener
Callback invoked when the session is removed.
removeExtension(ClientSession.Extension) - Method in interface org.cometd.bayeux.client.ClientSession
Removes an extension from this session.
removeExtension(BayeuxServer.Extension) - Method in interface org.cometd.bayeux.server.BayeuxServer
Removes the given extension from this Bayeux object.
removeExtension(ServerSession.Extension) - Method in interface org.cometd.bayeux.server.ServerSession
Removes the given extension from this session.
removeListener(ClientSessionChannel.ClientSessionChannelListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Removes the given listener from this channel.
removeListener(BayeuxServer.BayeuxServerListener) - Method in interface org.cometd.bayeux.server.BayeuxServer
Removes a listener from this Bayeux object.
removeListener(ConfigurableServerChannel.ServerChannelListener) - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel
 
removeListener(ServerSession.ServerSessionListener) - Method in interface org.cometd.bayeux.server.ServerSession
Removes the given listener from this session.
removeSession(ServerSession) - Method in interface org.cometd.bayeux.server.BayeuxServer
Removes the given session from this BayeuxServer.
Result() - Constructor for class org.cometd.bayeux.server.Authorizer.Result
 

S

SecurityPolicy - Interface in org.cometd.bayeux.server
A SecurityPolicy defines the broad authorization constraints that must be enforced by a BayeuxServer.
send(ClientSession, Message.Mutable) - Method in interface org.cometd.bayeux.client.ClientSession.Extension
Callback method invoked every time a normal message is being sent.
send(ServerSession, ServerMessage) - Method in interface org.cometd.bayeux.server.ServerSession.Extension
send(ServerSession, ServerSession, ServerMessage.Mutable) - Method in interface org.cometd.bayeux.server.BayeuxServer.Extension
sendMeta(ClientSession, Message.Mutable) - Method in interface org.cometd.bayeux.client.ClientSession.Extension
Callback method invoked every time a meta message is being sent.
sendMeta(ServerSession, ServerMessage.Mutable) - Method in interface org.cometd.bayeux.server.BayeuxServer.Extension
sendMeta(ServerSession, ServerMessage.Mutable) - Method in interface org.cometd.bayeux.server.ServerSession.Extension
ServerChannel - Interface in org.cometd.bayeux.server
Server side representation of a Bayeux channel.
ServerChannel.MessageListener - Interface in org.cometd.bayeux.server
Listeners objects that implement this interface will be notified of message publish.
ServerChannel.SubscriptionListener - Interface in org.cometd.bayeux.server
Listener objects that implement this interface will be notified of subscription events.
ServerMessage - Interface in org.cometd.bayeux.server
Representation of a server side message.
ServerMessage.Mutable - Interface in org.cometd.bayeux.server
The mutable version of a ServerMessage
ServerSession - Interface in org.cometd.bayeux.server
Objects implementing this interface are the server-side representation of remote Bayeux clients.
ServerSession.DeQueueListener - Interface in org.cometd.bayeux.server
Listeners objects that implement this interface will be notified when the session queue is being drained to actually deliver the messages.
ServerSession.Extension - Interface in org.cometd.bayeux.server
Extension API for ServerSession.
ServerSession.Extension.Adapter - Class in org.cometd.bayeux.server
Deprecated. 
ServerSession.HeartBeatListener - Interface in org.cometd.bayeux.server
Listeners objects that implement this interface will be notified when a /meta/connect message is suspended by the server, and when it is subsequently resumed.
ServerSession.MaxQueueListener - Interface in org.cometd.bayeux.server
Listeners objects that implement this interface will be notified when the session queue is full.
ServerSession.MessageListener - Interface in org.cometd.bayeux.server
Listeners objects that implement this interface will be notified of message sending.
ServerSession.QueueListener - Interface in org.cometd.bayeux.server
Listener objects that implement this interface will be notified when a message is queued in the session queue.
ServerSession.RemoveListener - Interface in org.cometd.bayeux.server
Listeners objects that implement this interface will be notified of session removal.
ServerSession.ServerSessionListener - Interface in org.cometd.bayeux.server
Common interface for ServerSession listeners.
ServerTransport - Interface in org.cometd.bayeux.server
Server side extension of a Bayeux transport.
SERVICE - Static variable in interface org.cometd.bayeux.Channel
Constant representing the service prefix
Session - Interface in org.cometd.bayeux
A Bayeux session represents a connection between a bayeux client and a bayeux server.
sessionAdded(ServerSession, ServerMessage) - Method in interface org.cometd.bayeux.server.BayeuxServer.SessionListener
Callback invoked when a ServerSession has been added to a BayeuxServer object.
sessionRemoved(ServerSession, boolean) - Method in interface org.cometd.bayeux.server.BayeuxServer.SessionListener
Callback invoked when a ServerSession has been removed from a BayeuxServer object.
setAssociated(ServerMessage.Mutable) - Method in interface org.cometd.bayeux.server.ServerMessage.Mutable
 
setAttribute(String, Object) - Method in interface org.cometd.bayeux.Channel
Sets a named channel attribute value.
setAttribute(String, Object) - Method in interface org.cometd.bayeux.Session
Sets a named session attribute value.
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
 
setHttpSessionAttribute(String, Object) - Method in interface org.cometd.bayeux.server.BayeuxContext
Access the HTTP Session (if any) attributes.
setId(String) - Method in interface org.cometd.bayeux.Message.Mutable
 
setInterval(long) - Method in interface org.cometd.bayeux.server.ServerSession
 
setLazy(boolean) - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel
A lazy channel marks all messages published to it as lazy.
setLazy(boolean) - Method in interface org.cometd.bayeux.server.ServerMessage.Mutable
A lazy message does not provoke immediately delivery to the client but it will be delivered at first occasion or after a timeout expires
setLazyTimeout(long) - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel
Sets the lazy timeout for this channel.
setOption(String, Object) - Method in interface org.cometd.bayeux.Bayeux
 
setPersistent(boolean) - Method in interface org.cometd.bayeux.server.ConfigurableServerChannel
A persistent channel is not removed when the last subscription is removed
setSecurityPolicy(SecurityPolicy) - Method in interface org.cometd.bayeux.server.BayeuxServer
 
setSuccessful(boolean) - Method in interface org.cometd.bayeux.Message.Mutable
 
setTimeout(long) - Method in interface org.cometd.bayeux.server.ServerSession
 
startBatch() - Method in interface org.cometd.bayeux.Session
Starts a batch, to be ended with Session.endBatch().
subscribe(ClientSessionChannel.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
subscribe(ClientSessionChannel.MessageListener, ClientSession.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Subscribes the given listener to receive messages sent to this channel.
subscribe(ClientSessionChannel.MessageListener, ClientSessionChannel.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
subscribe(ServerSession) - Method in interface org.cometd.bayeux.server.ServerChannel
Subscribes the given session to this channel.
SUBSCRIBE - org.cometd.bayeux.server.Authorizer.Operation
The operation to subscribe to a channel to receive messages published to it
subscribed(ServerSession, ServerChannel, ServerMessage) - Method in interface org.cometd.bayeux.server.BayeuxServer.SubscriptionListener
Callback invoked when a ServerSession subscribes to a ServerChannel.
subscribed(ServerSession, ServerChannel, ServerMessage) - Method in interface org.cometd.bayeux.server.ServerChannel.SubscriptionListener
Callback invoked when the given ServerSession subscribes to the given ServerChannel.
SUBSCRIPTION_FIELD - Static variable in interface org.cometd.bayeux.Message
 
succeed(C) - Method in interface org.cometd.bayeux.Promise
Callback to invoke when the operation succeeds.
succeed(S) - Method in class org.cometd.bayeux.Promise.Completable
 
SUCCESSFUL_FIELD - Static variable in interface org.cometd.bayeux.Message
 
SUPPORTED_CONNECTION_TYPES_FIELD - Static variable in interface org.cometd.bayeux.Message
 

T

TIMEOUT_FIELD - Static variable in interface org.cometd.bayeux.Message
 
TIMESTAMP_FIELD - Static variable in interface org.cometd.bayeux.Message
 
toString() - Method in class org.cometd.bayeux.ChannelId
 
toString() - Method in class org.cometd.bayeux.server.Authorizer.Result.Denied
 
toString() - Method in class org.cometd.bayeux.server.Authorizer.Result
 
Transport - Interface in org.cometd.bayeux
A transport abstract the details of the protocol used to send Bayeux messages over the network, for example using HTTP or using WebSocket.
TRANSPORT_FIELD - Static variable in interface org.cometd.bayeux.Message
 

U

unsubscribe() - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Unsubscribes all subscribers registered on this channel.
unsubscribe(ClientSessionChannel.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
unsubscribe(ClientSessionChannel.MessageListener, ClientSession.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Unsubscribes the given listener from receiving messages sent to this channel.
unsubscribe(ClientSessionChannel.MessageListener, ClientSessionChannel.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
unsubscribe(ServerSession) - Method in interface org.cometd.bayeux.server.ServerChannel
Unsubscribes the given session from this channel.
unsubscribed(ServerSession, ServerChannel, ServerMessage) - Method in interface org.cometd.bayeux.server.BayeuxServer.SubscriptionListener
Callback invoked when a ServerSession unsubscribes from a ServerChannel.
unsubscribed(ServerSession, ServerChannel, ServerMessage) - Method in interface org.cometd.bayeux.server.ServerChannel.SubscriptionListener
Callback invoked when the given ServerSession unsubscribes from the given ServerChannel.

V

valueOf(String) - Static method in enum org.cometd.bayeux.server.Authorizer.Operation
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.cometd.bayeux.server.Authorizer.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION_FIELD - Static variable in interface org.cometd.bayeux.Message
 

W

WILD - Static variable in class org.cometd.bayeux.ChannelId
 
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2008–2017 The CometD Project. All rights reserved.