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

A

abort() - Method in class org.cometd.client.BayeuxClient
Interrupts abruptly the communication with the Bayeux server.
abort() - Method in class org.cometd.client.transport.ClientTransport
Aborts this transport, usually by cancelling all pending Bayeux messages that require a response, such as /meta/connects, without waiting for a response.
abort() - Method in class org.cometd.client.transport.LongPollingTransport
 
accept(String) - Method in class org.cometd.client.transport.ClientTransport
 
accept(String) - Method in class org.cometd.client.transport.LongPollingTransport
 
ACK_FIELD - Static variable in class org.cometd.client.ext.AckExtension
 
AckExtension - Class in org.cometd.client.ext
AckExtension

This client-side extension enables the client to acknowledge to the server the messages that the client has received.

AckExtension() - Constructor for class org.cometd.client.ext.AckExtension
 
add(ClientTransport) - Method in class org.cometd.client.transport.TransportRegistry
 
asString() - Method in class org.cometd.client.transport.HttpClientTransport.Cookie
 

B

BACKOFF_INCREMENT_OPTION - Static variable in class org.cometd.client.BayeuxClient
 
BAYEUX_VERSION - Static variable in class org.cometd.client.BayeuxClient
 
BayeuxClient - Class in org.cometd.client
BayeuxClient is the implementation of a client for the Bayeux protocol.
BayeuxClient(String, ClientTransport, ClientTransport...) - Constructor for class org.cometd.client.BayeuxClient
Creates a BayeuxClient that will connect to the Bayeux server at the given URL and with the given transport(s).
BayeuxClient(String, ScheduledExecutorService, ClientTransport, ClientTransport...) - Constructor for class org.cometd.client.BayeuxClient
Creates a BayeuxClient that will connect to the Bayeux server at the given URL, with the given scheduler and with the given transport(s).
BayeuxClient.BayeuxClientChannel - Class in org.cometd.client
 
BayeuxClient.BayeuxClientChannel(ChannelId) - Constructor for class org.cometd.client.BayeuxClient.BayeuxClientChannel
 
BayeuxClient.State - Enum in org.cometd.client
The states that a BayeuxClient may assume

C

clear() - Method in interface org.cometd.client.transport.HttpClientTransport.CookieProvider
 
clear() - Method in class org.cometd.client.transport.HttpClientTransport.StandardCookieProvider
 
ClientTransport - Class in org.cometd.client.transport
ClientTransports are used by BayeuxClient to send and receive Bayeux messages.
ClientTransport(String, Map<String, Object>) - Constructor for class org.cometd.client.transport.ClientTransport
 
create(Map<String, Object>) - Static method in class org.cometd.client.transport.LongPollingTransport
 
create(Map<String, Object>, HttpClient) - Static method in class org.cometd.client.transport.LongPollingTransport
 
customize(ContentExchange) - Method in class org.cometd.client.transport.LongPollingTransport
 

D

debug(String, Object...) - Method in class org.cometd.client.BayeuxClient
 
debug(String, Object...) - Method in class org.cometd.client.transport.ClientTransport
 
disconnect() - Method in class org.cometd.client.BayeuxClient
 
disconnect(ClientSessionChannel.MessageListener) - Method in class org.cometd.client.BayeuxClient
 
disconnect(long) - Method in class org.cometd.client.BayeuxClient
Performs a disconnect and uses the given timeout to wait for the disconnect to complete.
dump() - Method in class org.cometd.client.BayeuxClient
 

E

enqueueSend(Message.Mutable) - Method in class org.cometd.client.BayeuxClient
 

F

failMessage(Message, Throwable) - Method in class org.cometd.client.BayeuxClient
 
failMessages(Throwable, Message...) - Method in class org.cometd.client.BayeuxClient
 

G

generateJSON(Message.Mutable[]) - Method in class org.cometd.client.transport.ClientTransport
 
getAllowedTransports() - Method in class org.cometd.client.BayeuxClient
 
getAllowedTransports() - Method in class org.cometd.client.transport.TransportRegistry
 
getBackoffIncrement() - Method in class org.cometd.client.BayeuxClient
 
getComment() - Method in class org.cometd.client.transport.HttpClientTransport.Cookie
 
getCookie(String) - Method in class org.cometd.client.BayeuxClient
Retrieves the cookie with the given name, if available.
getCookie(String) - Method in interface org.cometd.client.transport.HttpClientTransport.CookieProvider
 
getCookie(String) - Method in class org.cometd.client.transport.HttpClientTransport
 
getCookie(String) - Method in class org.cometd.client.transport.HttpClientTransport.StandardCookieProvider
 
getCookieProvider() - Method in class org.cometd.client.transport.HttpClientTransport
 
getCookies() - Method in interface org.cometd.client.transport.HttpClientTransport.CookieProvider
 
getCookies() - Method in class org.cometd.client.transport.HttpClientTransport.StandardCookieProvider
 
getDomain() - Method in class org.cometd.client.transport.HttpClientTransport.Cookie
 
getId() - Method in class org.cometd.client.BayeuxClient
 
getKnownTransportNames() - Method in class org.cometd.client.BayeuxClient
 
getKnownTransports() - Method in class org.cometd.client.transport.TransportRegistry
 
getLag() - Method in class org.cometd.client.ext.TimesyncClientExtension
 
getMaxAge() - Method in class org.cometd.client.transport.HttpClientTransport.Cookie
 
getMaxBackoff() - Method in class org.cometd.client.BayeuxClient
 
getMaxNetworkDelay() - Method in class org.cometd.client.transport.ClientTransport
 
getName() - Method in class org.cometd.client.transport.HttpClientTransport.Cookie
 
getOffset() - Method in class org.cometd.client.ext.TimesyncClientExtension
 
getOption(String) - Method in class org.cometd.client.BayeuxClient
 
getOptionNames() - Method in class org.cometd.client.BayeuxClient
 
getOptions() - Method in class org.cometd.client.BayeuxClient
 
getPath() - Method in class org.cometd.client.transport.HttpClientTransport.Cookie
 
getServerTime() - Method in class org.cometd.client.ext.TimesyncClientExtension
 
getSession() - Method in class org.cometd.client.BayeuxClient.BayeuxClientChannel
 
getState() - Method in class org.cometd.client.BayeuxClient
 
getTransport(String) - Method in class org.cometd.client.BayeuxClient
 
getTransport() - Method in class org.cometd.client.BayeuxClient
 
getTransport(String) - Method in class org.cometd.client.transport.TransportRegistry
 
getURL() - Method in class org.cometd.client.transport.HttpClientTransport
 
getValue() - Method in class org.cometd.client.transport.HttpClientTransport.Cookie
 
getVersion() - Method in class org.cometd.client.transport.HttpClientTransport.Cookie
 

H

handshake() - Method in class org.cometd.client.BayeuxClient
 
handshake(Map<String, Object>) - Method in class org.cometd.client.BayeuxClient
 
handshake(ClientSessionChannel.MessageListener) - Method in class org.cometd.client.BayeuxClient
 
handshake(Map<String, Object>, ClientSessionChannel.MessageListener) - Method in class org.cometd.client.BayeuxClient
 
handshake(long) - Method in class org.cometd.client.BayeuxClient
Performs the handshake and waits at most the given time for the handshake to complete.
handshake(Map<String, Object>, long) - Method in class org.cometd.client.BayeuxClient
Performs the handshake with the given template and waits at most the given time for the handshake to complete.
HttpClientTransport - Class in org.cometd.client.transport
 
HttpClientTransport(String, String, Map<String, Object>) - Constructor for class org.cometd.client.transport.HttpClientTransport
 
HttpClientTransport.Cookie - Class in org.cometd.client.transport
 
HttpClientTransport.Cookie(String, String, String, String, int, boolean, int, String) - Constructor for class org.cometd.client.transport.HttpClientTransport.Cookie
 
HttpClientTransport.CookieProvider - Interface in org.cometd.client.transport
 
HttpClientTransport.StandardCookieProvider - Class in org.cometd.client.transport
 
HttpClientTransport.StandardCookieProvider() - Constructor for class org.cometd.client.transport.HttpClientTransport.StandardCookieProvider
 

I

init() - Method in class org.cometd.client.transport.ClientTransport
Initializes this transport, usually by reading/defaulting parameters used by the transport from the options passed to the constructor.
init() - Method in class org.cometd.client.transport.LongPollingTransport
 
initialize() - Method in class org.cometd.client.BayeuxClient
 
isConnected() - Method in class org.cometd.client.BayeuxClient
 
isDebugEnabled() - Method in class org.cometd.client.BayeuxClient
 
isDebugEnabled() - Method in class org.cometd.client.transport.ClientTransport
 
isDisconnected() - Method in class org.cometd.client.BayeuxClient
 
isExpired(long) - Method in class org.cometd.client.transport.HttpClientTransport.Cookie
 
isHandshook() - Method in class org.cometd.client.BayeuxClient
 
isSecure() - Method in class org.cometd.client.transport.HttpClientTransport.Cookie
 

J

JSON_CONTEXT - Static variable in class org.cometd.client.transport.ClientTransport
 

L

logger - Variable in class org.cometd.client.transport.ClientTransport
 
LongPollingTransport - Class in org.cometd.client.transport
 
LongPollingTransport(Map<String, Object>, HttpClient) - Constructor for class org.cometd.client.transport.LongPollingTransport
 
LongPollingTransport(String, Map<String, Object>, HttpClient) - Constructor for class org.cometd.client.transport.LongPollingTransport
 

M

MAX_BACKOFF_OPTION - Static variable in class org.cometd.client.BayeuxClient
 
MAX_NETWORK_DELAY_OPTION - Static variable in class org.cometd.client.transport.ClientTransport
 
MessageClientTransport - Interface in org.cometd.client.transport
Classes implementing MessageClientTransport indicate that the transport they provide receives messages without the need of a previous request, like it happens in HTTP long poll.

N

NAME - Static variable in class org.cometd.client.transport.LongPollingTransport
 
negotiate(Object[], String) - Method in class org.cometd.client.transport.TransportRegistry
 
newChannel(ChannelId) - Method in class org.cometd.client.BayeuxClient
 
newChannelId(String) - Method in class org.cometd.client.BayeuxClient
 
newMessage() - Method in class org.cometd.client.BayeuxClient
 
notifyListeners(Message.Mutable) - Method in class org.cometd.client.BayeuxClient
 

O

onConnectException(Throwable, Message[]) - Method in interface org.cometd.client.transport.TransportListener
 
onException(Throwable, Message[]) - Method in interface org.cometd.client.transport.TransportListener
 
onExpire(Message[]) - Method in interface org.cometd.client.transport.TransportListener
 
onFailure(Throwable, Message[]) - Method in class org.cometd.client.BayeuxClient
Callback method invoked when the given messages have failed to be sent.
onMessages(List<Message.Mutable>) - Method in class org.cometd.client.BayeuxClient
Callback method invoke when the given messages have just arrived from the Bayeux server.
onMessages(List<Message.Mutable>) - Method in interface org.cometd.client.transport.TransportListener
 
onSending(Message[]) - Method in class org.cometd.client.BayeuxClient
Callback method invoked when the given messages have hit the network towards the Bayeux server.
onSending(Message[]) - Method in interface org.cometd.client.transport.TransportListener
 
onTransportFailure(String, String, Throwable) - Method in class org.cometd.client.BayeuxClient
 
org.cometd.client - package org.cometd.client
 
org.cometd.client.ext - package org.cometd.client.ext
 
org.cometd.client.transport - package org.cometd.client.transport
 

P

parseMessages(String) - Method in class org.cometd.client.transport.ClientTransport
 
PREFIX - Static variable in class org.cometd.client.transport.LongPollingTransport
 
processConnect(Message.Mutable) - Method in class org.cometd.client.BayeuxClient
 
processDisconnect(Message.Mutable) - Method in class org.cometd.client.BayeuxClient
 
processHandshake(Message.Mutable) - Method in class org.cometd.client.BayeuxClient
 
processMessage(Message.Mutable) - Method in class org.cometd.client.BayeuxClient
 
publish(Object, ClientSessionChannel.MessageListener) - Method in class org.cometd.client.BayeuxClient.BayeuxClientChannel
 

R

rcvMeta(ClientSession, Message.Mutable) - Method in class org.cometd.client.ext.AckExtension
 
rcvMeta(ClientSession, Message.Mutable) - Method in class org.cometd.client.ext.TimesyncClientExtension
 

S

scheduleConnect(long, long) - Method in class org.cometd.client.BayeuxClient
 
scheduleHandshake(long, long) - Method in class org.cometd.client.BayeuxClient
 
send(ClientSession, Message.Mutable) - Method in class org.cometd.client.ext.TimestampClientExtension
 
send(TransportListener, Message.Mutable...) - Method in class org.cometd.client.transport.ClientTransport
 
send(TransportListener, Message.Mutable...) - Method in class org.cometd.client.transport.LongPollingTransport
 
sendBatch() - Method in class org.cometd.client.BayeuxClient
 
sendConnect() - Method in class org.cometd.client.BayeuxClient
 
sendHandshake() - Method in class org.cometd.client.BayeuxClient
 
sendMessages(Message.Mutable...) - Method in class org.cometd.client.BayeuxClient
 
sendMeta(ClientSession, Message.Mutable) - Method in class org.cometd.client.ext.AckExtension
 
sendMeta(ClientSession, Message.Mutable) - Method in class org.cometd.client.ext.TimestampClientExtension
 
sendMeta(ClientSession, Message.Mutable) - Method in class org.cometd.client.ext.TimesyncClientExtension
 
sendSubscribe(ClientSessionChannel.MessageListener, ClientSessionChannel.MessageListener) - Method in class org.cometd.client.BayeuxClient.BayeuxClientChannel
 
sendUnSubscribe(ClientSessionChannel.MessageListener) - Method in class org.cometd.client.BayeuxClient.BayeuxClientChannel
 
setCookie(String, String) - Method in class org.cometd.client.BayeuxClient
Sets a cookie that never expires.
setCookie(String, String, int) - Method in class org.cometd.client.BayeuxClient
Sets a cookie with the given max age in seconds.
setCookie(HttpClientTransport.Cookie) - Method in interface org.cometd.client.transport.HttpClientTransport.CookieProvider
 
setCookie(HttpClientTransport.Cookie) - Method in class org.cometd.client.transport.HttpClientTransport
 
setCookie(HttpClientTransport.Cookie) - Method in class org.cometd.client.transport.HttpClientTransport.StandardCookieProvider
 
setCookieProvider(HttpClientTransport.CookieProvider) - Method in class org.cometd.client.transport.HttpClientTransport
 
setDebugEnabled(boolean) - Method in class org.cometd.client.BayeuxClient
 
setDebugEnabled(boolean) - Method in class org.cometd.client.transport.ClientTransport
 
setMaxNetworkDelay(long) - Method in class org.cometd.client.transport.ClientTransport
 
setMessageTransportListener(TransportListener) - Method in interface org.cometd.client.transport.MessageClientTransport
 
setOption(String, Object) - Method in class org.cometd.client.BayeuxClient
 
setURL(String) - Method in class org.cometd.client.transport.HttpClientTransport
 

T

terminate() - Method in class org.cometd.client.BayeuxClient
 
terminate() - Method in class org.cometd.client.transport.ClientTransport
Terminates this transport, usually by closing network connections opened directly by this transport.
TimestampClientExtension - Class in org.cometd.client.ext
 
TimestampClientExtension() - Constructor for class org.cometd.client.ext.TimestampClientExtension
 
TimesyncClientExtension - Class in org.cometd.client.ext
 
TimesyncClientExtension() - Constructor for class org.cometd.client.ext.TimesyncClientExtension
 
TransportListener - Interface in org.cometd.client.transport
 
TransportRegistry - Class in org.cometd.client.transport
 
TransportRegistry() - Constructor for class org.cometd.client.transport.TransportRegistry
 

V

valueOf(String) - Static method in enum org.cometd.client.BayeuxClient.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.cometd.client.BayeuxClient.State
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitFor(long, BayeuxClient.State, BayeuxClient.State...) - Method in class org.cometd.client.BayeuxClient
Waits for this BayeuxClient to reach the given state(s) within the given time.
A B C D E F G H I J L M N O P R S T V W 

Copyright © 2008–2014 Dojo Foundation. All rights reserved.