Index

A B C D E F G H I J L N O P R S T U Z 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractClientSession - Class in org.cometd.common
Partial implementation of ClientSession.
AbstractClientSession() - Constructor for class org.cometd.common.AbstractClientSession
 
AbstractClientSession.AbstractSessionChannel - Class in org.cometd.common
A channel scoped to a ClientSession.
AbstractSessionChannel(ChannelId) - Constructor for class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
AbstractTransport - Class in org.cometd.common
 
AbstractTransport(String, Map<String, Object>) - Constructor for class org.cometd.common.AbstractTransport
 
addExtension(ClientSession.Extension) - Method in class org.cometd.common.AbstractClientSession
 
addListener(ClientSessionChannel.ClientSessionChannelListener) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
apply(R, T, AsyncFoldLeft.Loop<R>) - Method in interface org.cometd.common.AsyncFoldLeft.Operation
Processes the given element.
AsyncFoldLeft - Class in org.cometd.common
Processes asynchronously a sequence of elements, producing a result that is the reduction of the results produced by the processing of each element.
AsyncFoldLeft() - Constructor for class org.cometd.common.AsyncFoldLeft
 
AsyncFoldLeft.Loop<R> - Interface in org.cometd.common
Controls the iteration over a sequence of elements, allowing to continue the iteration (with a result), break out of the iteration (with a result), or fail the iteration (with an exception).
AsyncFoldLeft.Operation<T,R> - Interface in org.cometd.common
The operation to invoke for each element.
AsyncJSONFactory() - Constructor for class org.cometd.common.JettyJSONContext.AsyncJSONFactory
 
AsyncJSONParser(AsyncJSON) - Constructor for class org.cometd.common.JettyJSONContext.AsyncJSONParser
 

B

batch(Runnable) - Method in class org.cometd.common.AbstractClientSession
 
BufferingJSONAsyncParser - Class in org.cometd.common
A JSONContext.AsyncParser that parses an array of Bayeux messages.
BufferingJSONAsyncParser(JSONContext<? extends Message.Mutable>) - Constructor for class org.cometd.common.BufferingJSONAsyncParser
 

C

complete() - Method in class org.cometd.common.BufferingJSONAsyncParser
 
complete() - Method in class org.cometd.common.JettyJSONContext.AsyncJSONParser
 
complete() - Method in interface org.cometd.common.JSONContext.AsyncParser
Signals the end of the JSON string content to this parser and returns the parsed object.

D

decodeByteBuffer(String) - Method in class org.cometd.common.Z85.Decoder
 
decodeBytes(String) - Method in class org.cometd.common.Z85.Decoder
 
decoder - Static variable in class org.cometd.common.Z85
 
Decoder() - Constructor for class org.cometd.common.Z85.Decoder
 
dump(Appendable, String) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
dump(Appendable, String) - Method in class org.cometd.common.AbstractClientSession
 
dumpSelf() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 

E

encodeByteBuffer(ByteBuffer) - Method in class org.cometd.common.Z85.Encoder
 
encodeBytes(byte[]) - Method in class org.cometd.common.Z85.Encoder
 
encoder - Static variable in class org.cometd.common.Z85
 
Encoder() - Constructor for class org.cometd.common.Z85.Encoder
 
endBatch() - Method in class org.cometd.common.AbstractClientSession
 
extendIncoming(Message.Mutable, Promise<Boolean>) - Method in class org.cometd.common.AbstractClientSession
 
extendOutgoing(Message.Mutable, Promise<Boolean>) - Method in class org.cometd.common.AbstractClientSession
 

F

fail(Throwable) - Method in interface org.cometd.common.AsyncFoldLeft.Loop
Makes the loop fail (similarly to throwing an exception).

G

generate(Object) - Method in class org.cometd.common.JacksonJSONContext.ObjectMapperGenerator
 
generate(Object) - Method in class org.cometd.common.JettyJSONContext.JSONGenerator
 
generate(Object) - Method in interface org.cometd.common.JSONContext.Generator
 
generate(List<M>) - Method in class org.cometd.common.JacksonJSONContext
 
generate(List<M>) - Method in class org.cometd.common.JettyJSONContext
 
generate(List<T>) - Method in interface org.cometd.common.JSONContext
Converts a list of messages to a JSON string.
generate(M) - Method in class org.cometd.common.JacksonJSONContext
 
generate(M) - Method in class org.cometd.common.JettyJSONContext
 
generate(T) - Method in interface org.cometd.common.JSONContext
Converts a single message to a JSON string.
getAdvice() - Method in class org.cometd.common.HashMapMessage
 
getAdvice(boolean) - Method in class org.cometd.common.HashMapMessage
 
getAsyncJSONFactory() - Method in class org.cometd.common.JettyJSONContext
 
getAttribute(String) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
getAttribute(String) - Method in class org.cometd.common.AbstractClientSession
 
getAttributeNames() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
getAttributeNames() - Method in class org.cometd.common.AbstractClientSession
 
getChannel() - Method in class org.cometd.common.HashMapMessage
 
getChannel(String) - Method in class org.cometd.common.AbstractClientSession
 
getChannel(ChannelId) - Method in class org.cometd.common.AbstractClientSession
 
getChannelId() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
getChannelId() - Method in class org.cometd.common.HashMapMessage
 
getChannels() - Method in class org.cometd.common.AbstractClientSession
 
getClientId() - Method in class org.cometd.common.HashMapMessage
 
getData() - Method in class org.cometd.common.HashMapMessage
 
getDataAsMap() - Method in class org.cometd.common.HashMapMessage
 
getDataAsMap(boolean) - Method in class org.cometd.common.HashMapMessage
 
getExt() - Method in class org.cometd.common.HashMapMessage
 
getExt(boolean) - Method in class org.cometd.common.HashMapMessage
 
getExtensions() - Method in class org.cometd.common.AbstractClientSession
 
getFields() - Method in exception class org.cometd.common.TransportException
 
getGenerator() - Method in class org.cometd.common.JacksonJSONContext
 
getGenerator() - Method in class org.cometd.common.JettyJSONContext
 
getGenerator() - Method in interface org.cometd.common.JSONContext
 
getId() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
getId() - Method in class org.cometd.common.HashMapMessage
 
getJSON() - Method in class org.cometd.common.JettyJSONContext
 
getListeners() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
getName() - Method in class org.cometd.common.AbstractTransport
 
getObjectMapper() - Method in class org.cometd.common.JacksonJSONContext
 
getOption(String) - Method in class org.cometd.common.AbstractTransport
Returns an option value for the given option name, searching the option name tree.
getOption(String, boolean) - Method in class org.cometd.common.AbstractTransport
Get option or default value.
getOption(String, int) - Method in class org.cometd.common.AbstractTransport
Get option or default value.
getOption(String, long) - Method in class org.cometd.common.AbstractTransport
Get option or default value.
getOption(String, String) - Method in class org.cometd.common.AbstractTransport
Get option or default value.
getOptionNames() - Method in class org.cometd.common.AbstractTransport
 
getOptionPrefix() - Method in class org.cometd.common.AbstractTransport
 
getParser() - Method in class org.cometd.common.JacksonJSONContext
 
getParser() - Method in class org.cometd.common.JettyJSONContext
 
getParser() - Method in interface org.cometd.common.JSONContext
 
getSubscribers() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 

H

HashMapMessage - Class in org.cometd.common
 
HashMapMessage() - Constructor for class org.cometd.common.HashMapMessage
 
HashMapMessage(Message) - Constructor for class org.cometd.common.HashMapMessage
 

I

isBatching() - Method in class org.cometd.common.AbstractClientSession
 
isBroadcast() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
isDeepWild() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
isMeta() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
isMeta() - Method in class org.cometd.common.HashMapMessage
 
isPublishReply() - Method in class org.cometd.common.HashMapMessage
 
isReleased() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
isService() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
isSuccessful() - Method in class org.cometd.common.HashMapMessage
 
isWild() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 

J

JacksonJSONContext<M,I> - Class in org.cometd.common
 
JacksonJSONContext() - Constructor for class org.cometd.common.JacksonJSONContext
 
JacksonJSONContext.ObjectMapperGenerator - Class in org.cometd.common
 
JacksonJSONContextClient - Class in org.cometd.common
 
JacksonJSONContextClient() - Constructor for class org.cometd.common.JacksonJSONContextClient
 
JettyJSONContext<M> - Class in org.cometd.common
 
JettyJSONContext() - Constructor for class org.cometd.common.JettyJSONContext
 
JettyJSONContext.AsyncJSONFactory - Class in org.cometd.common
 
JettyJSONContext.AsyncJSONParser - Class in org.cometd.common
 
JettyJSONContext.JSONGenerator - Class in org.cometd.common
 
JettyJSONContextClient - Class in org.cometd.common
 
JettyJSONContextClient() - Constructor for class org.cometd.common.JettyJSONContextClient
 
JSONContext<T> - Interface in org.cometd.common
Abstraction for JSON parsing and generation.
JSONContext.AsyncParser - Interface in org.cometd.common
A non-blocking JSON parser.
JSONContext.Client - Interface in org.cometd.common
Client specific JSONContext that binds to Message.Mutable.
JSONContext.Generator - Interface in org.cometd.common
A JSON stringifier.
JSONContext.Parser - Interface in org.cometd.common
A blocking JSON parser.
JSONGenerator() - Constructor for class org.cometd.common.JettyJSONContext.JSONGenerator
 

L

leave(R) - Method in interface org.cometd.common.AsyncFoldLeft.Loop
Makes the loop exit (similarly to the break statement).

N

newAsyncJSON() - Method in class org.cometd.common.JettyJSONContext.AsyncJSONFactory
 
newAsyncParser() - Method in class org.cometd.common.JacksonJSONContext
 
newAsyncParser() - Method in class org.cometd.common.JettyJSONContext
 
newAsyncParser() - Method in interface org.cometd.common.JSONContext
 
newChannel(ChannelId) - Method in class org.cometd.common.AbstractClientSession
 
newChannelId(String) - Method in class org.cometd.common.AbstractClientSession
 
newMessage() - Method in class org.cometd.common.AbstractClientSession
 
newMessageId() - Method in class org.cometd.common.AbstractClientSession
 
newRoot() - Method in class org.cometd.common.JettyJSONContext
 
newRoot() - Method in class org.cometd.common.JettyJSONContextClient
 
newRootArray(int) - Method in class org.cometd.common.JettyJSONContext
 
newRootArray(int) - Method in class org.cometd.common.JettyJSONContextClient
 
nonFirstSubscribe(Message.Mutable, ClientSessionChannel.MessageListener, ClientSession.MessageListener) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
nonLastUnSubscribe(Message.Mutable, ClientSessionChannel.MessageListener, ClientSession.MessageListener) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
notifyCallback(ClientSession.MessageListener, Message.Mutable) - Method in class org.cometd.common.AbstractClientSession
 
notifyListeners(Message.Mutable) - Method in class org.cometd.common.AbstractClientSession
 
notifyMessageListeners(Message) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
notifyOnMessage(ClientSessionChannel.MessageListener, Message) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 

O

ObjectMapperGenerator() - Constructor for class org.cometd.common.JacksonJSONContext.ObjectMapperGenerator
 
org.cometd.common - package org.cometd.common
 

P

parse(byte[], int, int) - Method in class org.cometd.common.BufferingJSONAsyncParser
 
parse(byte[], int, int) - Method in interface org.cometd.common.JSONContext.AsyncParser
 
parse(Reader) - Method in class org.cometd.common.JacksonJSONContext
 
parse(Reader) - Method in class org.cometd.common.JettyJSONContext
 
parse(Reader) - Method in interface org.cometd.common.JSONContext
Parses an array of messages from the given reader.
parse(Reader, Class<R>) - Method in interface org.cometd.common.JSONContext.Parser
Parses a JSON string from the given reader.
parse(String) - Method in class org.cometd.common.JacksonJSONContext
 
parse(String) - Method in class org.cometd.common.JettyJSONContext
 
parse(String) - Method in interface org.cometd.common.JSONContext
Parses an array of messages from the given string.
parse(ByteBuffer) - Method in class org.cometd.common.BufferingJSONAsyncParser
 
parse(ByteBuffer) - Method in class org.cometd.common.JettyJSONContext.AsyncJSONParser
 
parse(ByteBuffer) - Method in interface org.cometd.common.JSONContext.AsyncParser
 
proceed(R) - Method in interface org.cometd.common.AsyncFoldLeft.Loop
Makes the loop proceed to the next element (or the end of the loop).
publish(Object, ClientSession.MessageListener) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
publish(Message.Mutable, ClientSession.MessageListener) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
putConvertor(String, JSON.Convertor) - Method in class org.cometd.common.JettyJSONContext
 

R

receive(Message.Mutable, Promise<Void>) - Method in class org.cometd.common.AbstractClientSession
Receives a message (from the server) and process it.
registerCallback(String, ClientSession.MessageListener) - Method in class org.cometd.common.AbstractClientSession
 
registerSubscriber(String, ClientSessionChannel.MessageListener) - Method in class org.cometd.common.AbstractClientSession
 
release() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
remoteCall(String, Object, ClientSession.MessageListener) - Method in class org.cometd.common.AbstractClientSession
 
removeAttribute(String) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
removeAttribute(String) - Method in class org.cometd.common.AbstractClientSession
 
removeExtension(ClientSession.Extension) - Method in class org.cometd.common.AbstractClientSession
 
removeListener(ClientSessionChannel.ClientSessionChannelListener) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
resetSubscriptions() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
resetSubscriptions() - Method in class org.cometd.common.AbstractClientSession
 
reverseRun(List<T>, R, AsyncFoldLeft.Operation<T, R>, Promise<R>) - Static method in class org.cometd.common.AsyncFoldLeft
Processes, in reverse order, the given sequence of elements.
rootArrayClass() - Method in class org.cometd.common.JacksonJSONContext
 
rootArrayClass() - Method in class org.cometd.common.JacksonJSONContextClient
 
run(Iterable<T>, R, AsyncFoldLeft.Operation<T, R>, Promise<R>) - Static method in class org.cometd.common.AsyncFoldLeft
Processes the given sequence of elements.
run(T[], R, AsyncFoldLeft.Operation<T, R>, Promise<R>) - Static method in class org.cometd.common.AsyncFoldLeft
Processes the given array of elements.

S

send(Message.Mutable) - Method in class org.cometd.common.AbstractClientSession
 
sendBatch() - Method in class org.cometd.common.AbstractClientSession
 
sendSubscribe(Message.Mutable, ClientSessionChannel.MessageListener, ClientSession.MessageListener) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
sendUnSubscribe(Message.Mutable, ClientSession.MessageListener) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
Deprecated.
sendUnSubscribe(Message.Mutable, ClientSessionChannel.MessageListener, ClientSession.MessageListener) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
setAttribute(String, Object) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
setAttribute(String, Object) - Method in class org.cometd.common.AbstractClientSession
 
setChannel(String) - Method in class org.cometd.common.HashMapMessage
 
setClientId(String) - Method in class org.cometd.common.HashMapMessage
 
setData(Object) - Method in class org.cometd.common.HashMapMessage
 
setId(String) - Method in class org.cometd.common.HashMapMessage
 
setOption(String, Object) - Method in class org.cometd.common.AbstractTransport
Sets the option value with the given name.
setOptionPrefix(String) - Method in class org.cometd.common.AbstractTransport
Set the option name prefix segment.
setSuccessful(boolean) - Method in class org.cometd.common.HashMapMessage
 
startBatch() - Method in class org.cometd.common.AbstractClientSession
 
subscribe(Message.Mutable, ClientSessionChannel.MessageListener, ClientSession.MessageListener) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 

T

throwIfReleased() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
toString() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
TransportException - Exception Class in org.cometd.common
 
TransportException(Throwable, Map<String, Object>) - Constructor for exception class org.cometd.common.TransportException
 
TransportException(Map<String, Object>) - Constructor for exception class org.cometd.common.TransportException
 

U

unregisterCallback(String) - Method in class org.cometd.common.AbstractClientSession
 
unregisterSubscriber(String) - Method in class org.cometd.common.AbstractClientSession
 
unsubscribe() - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 
unsubscribe(Message.Mutable, ClientSessionChannel.MessageListener, ClientSession.MessageListener) - Method in class org.cometd.common.AbstractClientSession.AbstractSessionChannel
 

Z

Z85 - Class in org.cometd.common
An implementation of Z85, a format for representing binary data as printable text defined at ZeroMQ Z85.
Z85.Decoder - Class in org.cometd.common
 
Z85.Encoder - Class in org.cometd.common
 
A B C D E F G H I J L N O P R S T U Z 
All Classes and Interfaces|All Packages|Serialized Form