Index

A C D G H I N O P R S U 
All Classes and Interfaces|All Packages

A

addExtension(ClientSession.Extension) - Method in interface org.cometd.bayeux.client.ClientSession
Adds an extension to this session.
addListener(ClientSessionChannel.ClientSessionChannelListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Adds a listener to this channel.

C

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.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.

D

disconnect() - Method in interface org.cometd.bayeux.client.ClientSession
 
disconnect(ClientSession.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSession
Disconnects this session, ending the link between the client and the server peers.

G

getChannel(String) - Method in interface org.cometd.bayeux.client.ClientSession
Returns a client side channel scoped by this session.
getExtensions() - Method in interface org.cometd.bayeux.client.ClientSession
 
getListeners() - Method in interface org.cometd.bayeux.client.ClientSessionChannel
 
getSession() - Method in interface org.cometd.bayeux.client.ClientSessionChannel
 
getSubscribers() - Method in interface org.cometd.bayeux.client.ClientSessionChannel
 

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).

I

incoming(ClientSession, Message.Mutable, Promise<Boolean>) - Method in interface org.cometd.bayeux.client.ClientSession.Extension
Callback method invoked every time a message is incoming.
isReleased() - Method in interface org.cometd.bayeux.client.ClientSessionChannel
 

N

NOOP - Static variable in interface org.cometd.bayeux.client.ClientSession.MessageListener
 

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.
org.cometd.api.client - module org.cometd.api.client
 
org.cometd.bayeux.client - package org.cometd.bayeux.client
 
outgoing(ClientSession, Message.Mutable, Promise<Boolean>) - Method in interface org.cometd.bayeux.client.ClientSession.Extension
Callback method invoked every time a message is outgoing.

P

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(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.

R

rcv(ClientSession, Message.Mutable) - Method in interface org.cometd.bayeux.client.ClientSession.Extension
Callback method invoked every time a normal message is received.
rcvMeta(ClientSession, Message.Mutable) - Method in interface org.cometd.bayeux.client.ClientSession.Extension
Callback method invoked every time a meta message is received.
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.
removeExtension(ClientSession.Extension) - Method in interface org.cometd.bayeux.client.ClientSession
Removes an extension from this session.
removeListener(ClientSessionChannel.ClientSessionChannelListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Removes the given listener from this channel.

S

send(ClientSession, Message.Mutable) - Method in interface org.cometd.bayeux.client.ClientSession.Extension
Callback method invoked every time a normal message is being sent.
sendMeta(ClientSession, Message.Mutable) - Method in interface org.cometd.bayeux.client.ClientSession.Extension
Callback method invoked every time a meta message is being sent.
subscribe(ClientSessionChannel.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
subscribe(ClientSessionChannel.MessageListener, ClientSession.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
subscribe(Message.Mutable, ClientSessionChannel.MessageListener, ClientSession.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Subscribes the given listener to receive messages sent to this channel.

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
unsubscribe(Message.Mutable, ClientSessionChannel.MessageListener, ClientSession.MessageListener) - Method in interface org.cometd.bayeux.client.ClientSessionChannel
Unsubscribes the given listener from receiving messages sent to this channel.
A C D G H I N O P R S U 
All Classes and Interfaces|All Packages