A B C D E F G H I K L M N O P Q R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abort() - Method in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
Abort the client transmission and response processing.
- abort() - Method in interface org.igniterealtime.jbosh.HTTPResponse
-
Close out any resources still held by the original request.
- AbstractAttr<T extends java.lang.Comparable> - Class in org.igniterealtime.jbosh
-
Abstract base class for creating BOSH attribute classes.
- AbstractAttr(T) - Constructor for class org.igniterealtime.jbosh.AbstractAttr
-
Creates a new encapsulated object instance.
- AbstractBody - Class in org.igniterealtime.jbosh
-
Class representing a single message to or from the BOSH connection manager (CM).
- AbstractBody() - Constructor for class org.igniterealtime.jbosh.AbstractBody
-
Restrict subclasses to the local package.
- AbstractIntegerAttr - Class in org.igniterealtime.jbosh
-
Abstract base class for attribute implementations based on
Integer
types. - AbstractIntegerAttr(int) - Constructor for class org.igniterealtime.jbosh.AbstractIntegerAttr
-
Creates a new attribute object.
- AbstractIntegerAttr(String) - Constructor for class org.igniterealtime.jbosh.AbstractIntegerAttr
-
Creates a new attribute object.
- accept - Variable in class org.igniterealtime.jbosh.CMSessionParams
- ACCEPT - Static variable in class org.igniterealtime.jbosh.Attributes
- ACCEPT_ENCODING - Static variable in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
Name of the accept encoding header.
- ACCEPT_ENCODING_VAL - Static variable in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
Value to use for the ACCEPT_ENCODING header.
- ack - Variable in class org.igniterealtime.jbosh.CMSessionParams
- ACK - Static variable in class org.igniterealtime.jbosh.Attributes
- ackingRequests - Variable in class org.igniterealtime.jbosh.CMSessionParams
- addBodyAttributeValue(BodyQName, String) - Method in class org.igniterealtime.jbosh.BodyParserResults
-
Add an attribute definition to the results.
- addBOSHClientConnListener(BOSHClientConnListener) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Adds a connection listener to the session.
- addBOSHClientRequestListener(BOSHClientRequestListener) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Adds a request message listener to the session.
- addBOSHClientResponseListener(BOSHClientResponseListener) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Adds a response message listener to the session.
- ApacheHTTPResponse - Class in org.igniterealtime.jbosh
- ApacheHTTPResponse(HttpClient, BOSHClientConfig, CMSessionParams, AbstractBody) - Constructor for class org.igniterealtime.jbosh.ApacheHTTPResponse
-
Create and send a new request to the upstream connection manager, providing deferred access to the results to be returned.
- ApacheHTTPSender - Class in org.igniterealtime.jbosh
-
Implementation of the
HTTPSender
interface which uses the Apache HttpClient API to send messages to the connection manager. - ApacheHTTPSender() - Constructor for class org.igniterealtime.jbosh.ApacheHTTPSender
-
Prevent construction apart from our package.
- applyFrom(ComposableBody.Builder) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Applies the local station ID information to the request message who's builder has been provided.
- applyResponseAcknowledgement(ComposableBody.Builder, long) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Sets the 'ack' attribute of the request to the value of the highest 'rid' of a request for which it has already received a response in the case where it has also received all responses associated with lower 'rid' values.
- applyRoute(ComposableBody.Builder) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Applies routing information to the request message who's builder has been provided.
- applySessionCreationRequest(long, ComposableBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Modifies the specified body message such that it becomes a new BOSH session creation request.
- applySessionData(long, ComposableBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Applies existing session data to the outbound request, returning the modified request.
- ASSERTIONS - Static variable in class org.igniterealtime.jbosh.BOSHClient
-
Flag indicating whether or not we want to perform assertions.
- assertLocked() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Assert that the internal lock is held.
- assertUnlocked() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Assert that the internal lock is *not* held.
- attemptLoad(Class<T>, String) - Static method in class org.igniterealtime.jbosh.ServiceLib
-
Attempts to load the specified implementation class.
- AttrAccept - Class in org.igniterealtime.jbosh
-
Data type representing the getValue of the
accept
attribute of thebosh
element. - AttrAccept(String) - Constructor for class org.igniterealtime.jbosh.AttrAccept
-
Creates a new attribute object.
- AttrAck - Class in org.igniterealtime.jbosh
-
Data type representing the getValue of the
ack
attribute of thebosh
element. - AttrAck(String) - Constructor for class org.igniterealtime.jbosh.AttrAck
-
Creates a new attribute object.
- AttrCharsets - Class in org.igniterealtime.jbosh
-
Data type representing the getValue of the
charsets
attribute of thebosh
element. - AttrCharsets(String) - Constructor for class org.igniterealtime.jbosh.AttrCharsets
-
Creates a new attribute object.
- AttrHold - Class in org.igniterealtime.jbosh
-
Data type representing the getValue of the
hold
attribute of thebosh
element. - AttrHold(String) - Constructor for class org.igniterealtime.jbosh.AttrHold
-
Creates a new attribute object.
- Attributes - Class in org.igniterealtime.jbosh
-
Class containing constants for attribute definitions used by the XEP-0124 specification.
- Attributes() - Constructor for class org.igniterealtime.jbosh.Attributes
-
Private constructor to prevent construction of library class.
- AttrInactivity - Class in org.igniterealtime.jbosh
-
Data type representing the value of the
inactivity
attribute of thebosh
element. - AttrInactivity(String) - Constructor for class org.igniterealtime.jbosh.AttrInactivity
-
Creates a new attribute object.
- AttrMaxPause - Class in org.igniterealtime.jbosh
-
Data type representing the getValue of the
maxpause
attribute of thebosh
element. - AttrMaxPause(String) - Constructor for class org.igniterealtime.jbosh.AttrMaxPause
-
Creates a new attribute object.
- AttrPause - Class in org.igniterealtime.jbosh
-
Data type representing the getValue of the
pause
attribute of thebosh
element. - AttrPause(String) - Constructor for class org.igniterealtime.jbosh.AttrPause
-
Creates a new attribute object.
- AttrPolling - Class in org.igniterealtime.jbosh
-
Data type representing the getValue of the
polling
attribute of thebosh
element. - AttrPolling(String) - Constructor for class org.igniterealtime.jbosh.AttrPolling
-
Creates a new attribute object.
- AttrRequests - Class in org.igniterealtime.jbosh
-
Data type representing the value of the
requests
attribute of thebosh
element. - AttrRequests(String) - Constructor for class org.igniterealtime.jbosh.AttrRequests
-
Creates a new attribute object.
- attrs - Variable in class org.igniterealtime.jbosh.BodyParserResults
-
Map of qualified names to their values.
- attrs - Variable in class org.igniterealtime.jbosh.ComposableBody
-
Map of all attributes to their values.
- attrs - Variable in class org.igniterealtime.jbosh.StaticBody
-
Map of all attributes to their values.
- AttrSessionID - Class in org.igniterealtime.jbosh
-
Data type representing the getValue of the
sid
attribute of thebosh
element. - AttrSessionID(String) - Constructor for class org.igniterealtime.jbosh.AttrSessionID
-
Creates a new attribute object.
- AttrVersion - Class in org.igniterealtime.jbosh
-
Data type representing the getValue of the
ver
attribute of thebosh
element. - AttrVersion(String) - Constructor for class org.igniterealtime.jbosh.AttrVersion
-
Creates a new attribute object.
- AttrWait - Class in org.igniterealtime.jbosh
-
Data type representing the getValue of the
wait
attribute of thebosh
element. - AttrWait(String) - Constructor for class org.igniterealtime.jbosh.AttrWait
-
Creates a new attribute object.
- AUTHID - Static variable in class org.igniterealtime.jbosh.Attributes
- awaitResponse() - Method in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
Await the response, storing the result in the instance variables of this class when they arrive.
B
- BAD_REQUEST - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
- bCompression - Variable in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
- bDomain - Variable in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
- bFrom - Variable in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
- bLang - Variable in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
- blockUntilSendable(AbstractBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Blocks until either the message provided becomes immediately sendable or until the session is terminated.
- body - Variable in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
The response body which was received from the server or
null
if that has not yet happened. - body - Variable in class org.igniterealtime.jbosh.BOSHMessageEvent
-
Message which was sent or received.
- BodyParser - Interface in org.igniterealtime.jbosh
-
Interface for parser implementations to implement in order to abstract the business of XML parsing out of the Body class.
- BodyParserResults - Class in org.igniterealtime.jbosh
-
Data extracted from a raw XML message by a BodyParser implementation.
- BodyParserResults() - Constructor for class org.igniterealtime.jbosh.BodyParserResults
-
Constructor.
- BodyParserSAX - Class in org.igniterealtime.jbosh
-
Implementation of the BodyParser interface which uses the SAX API that is part of the JDK.
- BodyParserSAX() - Constructor for class org.igniterealtime.jbosh.BodyParserSAX
- BodyParserSAX.Handler - Class in org.igniterealtime.jbosh
-
SAX event handler class.
- BodyParserXmlPull - Class in org.igniterealtime.jbosh
-
Implementation of the BodyParser interface which uses the XmlPullParser API.
- BodyParserXmlPull() - Constructor for class org.igniterealtime.jbosh.BodyParserXmlPull
- BodyQName - Class in org.igniterealtime.jbosh
-
Qualified name of an attribute of the wrapper element.
- BodyQName(QName) - Constructor for class org.igniterealtime.jbosh.BodyQName
-
Private constructor to prevent direct construction.
- BOSH_NS_URI - Static variable in class org.igniterealtime.jbosh.BodyQName
-
BOSH namespace URI.
- BOSH_START - Static variable in class org.igniterealtime.jbosh.ComposableBody
-
Pattern used to identify the beginning
body
element of a BOSH message. - BOSHClient - Class in org.igniterealtime.jbosh
-
BOSH Client session instance.
- BOSHClient(BOSHClientConfig) - Constructor for class org.igniterealtime.jbosh.BOSHClient
-
Prevent direct construction.
- BOSHClient.ExchangeInterceptor - Class in org.igniterealtime.jbosh
-
Class used in testing to dynamically manipulate received exchanges at test runtime.
- BOSHClientConfig - Class in org.igniterealtime.jbosh
-
BOSH client configuration information.
- BOSHClientConfig(URI, String, String, String, String, String, int, SSLContext, boolean) - Constructor for class org.igniterealtime.jbosh.BOSHClientConfig
-
Prevent direct construction.
- BOSHClientConfig.Builder - Class in org.igniterealtime.jbosh
-
Class instance builder, after the builder pattern.
- BOSHClientConnEvent - Class in org.igniterealtime.jbosh
-
Client connection event, notifying of changes in connection state.
- BOSHClientConnEvent(BOSHClient, boolean, List<ComposableBody>, Throwable) - Constructor for class org.igniterealtime.jbosh.BOSHClientConnEvent
-
Creates a new connection event instance.
- BOSHClientConnListener - Interface in org.igniterealtime.jbosh
-
Interface used by parties interested in monitoring the connection state of a client session.
- BOSHClientRequestListener - Interface in org.igniterealtime.jbosh
-
Interface used by parties interested in monitoring outbound requests made by the client to the connection manager (CM).
- BOSHClientResponseListener - Interface in org.igniterealtime.jbosh
-
Interface used by parties interested in monitoring inbound responses to the client from the connection manager (CM).
- BOSHException - Exception in org.igniterealtime.jbosh
-
Exception class used by the BOSH API to minimize the number of checked exceptions which must be handled by the user of the API.
- BOSHException(String) - Constructor for exception org.igniterealtime.jbosh.BOSHException
-
Creates a new exception isntance with the specified descriptive message.
- BOSHException(String, Throwable) - Constructor for exception org.igniterealtime.jbosh.BOSHException
-
Creates a new exception isntance with the specified descriptive message and the underlying root cause of the exceptional condition.
- BOSHMessageEvent - Class in org.igniterealtime.jbosh
-
Event representing a message sent to or from a BOSH connection manager.
- BOSHMessageEvent(Object, AbstractBody) - Constructor for class org.igniterealtime.jbosh.BOSHMessageEvent
-
Creates a new message event instance.
- bProxyHost - Variable in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
- bProxyPort - Variable in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
- bRoute - Variable in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
- bSSLContext - Variable in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
- BUFFER_SIZE - Static variable in class org.igniterealtime.jbosh.GZIPCodec
-
Size of the internal buffer when decoding.
- BUFFER_SIZE - Static variable in class org.igniterealtime.jbosh.StaticBody
-
Size of the internal buffer when copying from a stream.
- BUFFER_SIZE - Static variable in class org.igniterealtime.jbosh.ZLIBCodec
-
Size of the internal buffer when decoding.
- build() - Method in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
-
Build the immutable object instance with the current configuration.
- build() - Method in class org.igniterealtime.jbosh.ComposableBody.Builder
-
Build the immutable object instance with the current configuration.
- builder() - Static method in class org.igniterealtime.jbosh.ComposableBody
-
Create a builder instance to build new instances of this class.
- Builder() - Constructor for class org.igniterealtime.jbosh.ComposableBody.Builder
-
Prevent direct construction.
- Builder(URI, String) - Constructor for class org.igniterealtime.jbosh.BOSHClientConfig.Builder
-
Creates a new builder instance, used to create instances of the
BOSHClientConfig
class. - bURI - Variable in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
C
- cause - Variable in class org.igniterealtime.jbosh.BOSHClientConnEvent
-
Cause of the session termination, or
null
. - cfg - Variable in class org.igniterealtime.jbosh.ApacheHTTPSender
-
Session configuration.
- cfg - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Session configuration.
- CHARSET - Static variable in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
Name of the character set to encode the body to/from.
- charsets - Variable in class org.igniterealtime.jbosh.AttrCharsets
-
Array of the accepted character sets.
- charsets - Variable in class org.igniterealtime.jbosh.CMSessionParams
- CHARSETS - Static variable in class org.igniterealtime.jbosh.Attributes
- checkForTerminalBindingConditions(AbstractBody, int) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Checks to see if the response indicates a terminal binding condition (as per XEP-0124 section 17).
- checkMinValue(int) - Method in class org.igniterealtime.jbosh.AbstractIntegerAttr
-
Utility method intended to be called by concrete implementation classes from within the
check()
method when the concrete class needs to ensure that the integer value does not drop below the specified minimum value. - clearEmptyRequest() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Clears any scheduled empty requests.
- client - Variable in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
HttpClient instance to use to communicate.
- close() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Forcibly close this client session instance.
- cmParams - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Connection Manager session parameters.
- CMSessionParams - Class in org.igniterealtime.jbosh
-
A BOSH connection manager session instance.
- CMSessionParams(AttrSessionID, AttrWait, AttrVersion, AttrPolling, AttrInactivity, AttrRequests, AttrHold, AttrAccept, AttrMaxPause, AttrAck, AttrCharsets, boolean) - Constructor for class org.igniterealtime.jbosh.CMSessionParams
-
Prevent direct construction.
- CODE_TO_INSTANCE - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
-
Map of HTTP response codes to condition instances.
- compareTo(Object) - Method in class org.igniterealtime.jbosh.AbstractAttr
- compareTo(Object) - Method in class org.igniterealtime.jbosh.AttrVersion
- ComposableBody - Class in org.igniterealtime.jbosh
-
Implementation of the
AbstractBody
class which allows for the definition of messages from individual elements of a body. - ComposableBody(Map<BodyQName, String>, String) - Constructor for class org.igniterealtime.jbosh.ComposableBody
-
Prevent direct construction.
- ComposableBody.Builder - Class in org.igniterealtime.jbosh
-
Class instance builder, after the builder pattern.
- compressionEnabled - Variable in class org.igniterealtime.jbosh.BOSHClientConfig
-
Flag indicating that compression should be attempted, if possible.
- computed - Variable in class org.igniterealtime.jbosh.ComposableBody
-
Computed raw XML.
- computeXML() - Method in class org.igniterealtime.jbosh.ComposableBody
-
Generate a String representation of the message body.
- cond - Variable in class org.igniterealtime.jbosh.TerminalBindingCondition
-
Condition name.
- COND_TO_INSTANCE - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
-
Map of condition names to condition instances.
- CONDITION - Static variable in class org.igniterealtime.jbosh.Attributes
- connected - Variable in class org.igniterealtime.jbosh.BOSHClientConnEvent
-
Boolean flag indicating whether or not a session has been established and is currently active.
- connectionEvent(BOSHClientConnEvent) - Method in interface org.igniterealtime.jbosh.BOSHClientConnListener
-
Called when the connection state of the client which the listener is registered against has changed.
- connListeners - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Connection listeners.
- CONTENT - Static variable in class org.igniterealtime.jbosh.Attributes
- CONTENT_TYPE - Static variable in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
Content type to use when transmitting the body data.
- context - Variable in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
The execution state of an HTTP process.
- create(String, String) - Static method in class org.igniterealtime.jbosh.BodyQName
-
Creates a new qualified name using a namespace URI and local name.
- create(String, String) - Static method in class org.igniterealtime.jbosh.TerminalBindingCondition
-
Helper method to call the helper method to add entries.
- create(URI, String) - Static method in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
-
Creates a new builder instance, used to create instances of the
BOSHClientConfig
class. - create(BOSHClientConfig) - Static method in class org.igniterealtime.jbosh.BOSHClient
-
Create a new BOSH client session using the client configuration information provided.
- create(BOSHClientConfig) - Static method in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
-
Creates a new builder instance using the existing configuration provided as a starting point.
- createBOSH(String) - Static method in class org.igniterealtime.jbosh.BodyQName
-
Creates a new qualified name using the BOSH namespace URI and local name.
- createConnectionClosedEvent(BOSHClient) - Static method in class org.igniterealtime.jbosh.BOSHClientConnEvent
-
Creates a new successful connection closed event.
- createConnectionClosedOnErrorEvent(BOSHClient, List<ComposableBody>, Throwable) - Static method in class org.igniterealtime.jbosh.BOSHClientConnEvent
-
Creates a connection closed on error event.
- createConnectionEstablishedEvent(BOSHClient) - Static method in class org.igniterealtime.jbosh.BOSHClientConnEvent
-
Creates a new connection establishment event.
- createFromString(String) - Static method in class org.igniterealtime.jbosh.AttrAccept
-
Creates a new attribute instance from the provided String.
- createFromString(String) - Static method in class org.igniterealtime.jbosh.AttrAck
-
Creates a new attribute instance from the provided String.
- createFromString(String) - Static method in class org.igniterealtime.jbosh.AttrCharsets
-
Creates a new attribute instance from the provided String.
- createFromString(String) - Static method in class org.igniterealtime.jbosh.AttrHold
-
Creates a new attribute instance from the provided String.
- createFromString(String) - Static method in class org.igniterealtime.jbosh.AttrInactivity
-
Creates a new attribute instance from the provided String.
- createFromString(String) - Static method in class org.igniterealtime.jbosh.AttrMaxPause
-
Creates a new attribute instance from the provided String.
- createFromString(String) - Static method in class org.igniterealtime.jbosh.AttrPause
-
Creates a new attribute instance from the provided String.
- createFromString(String) - Static method in class org.igniterealtime.jbosh.AttrPolling
-
Creates a new attribute instance from the provided String.
- createFromString(String) - Static method in class org.igniterealtime.jbosh.AttrRequests
-
Creates a new attribute instance from the provided String.
- createFromString(String) - Static method in class org.igniterealtime.jbosh.AttrSessionID
-
Creates a new attribute instance from the provided String.
- createFromString(String) - Static method in class org.igniterealtime.jbosh.AttrVersion
-
Creates a new attribute instance from the provided String.
- createFromString(String) - Static method in class org.igniterealtime.jbosh.AttrWait
-
Creates a new attribute instance from the provided String.
- createRequestSentEvent(BOSHClient, AbstractBody) - Static method in class org.igniterealtime.jbosh.BOSHMessageEvent
-
Creates a new message event for clients sending events to the connection manager.
- createResponseReceivedEvent(BOSHClient, AbstractBody) - Static method in class org.igniterealtime.jbosh.BOSHMessageEvent
-
Creates a new message event for clients receiving new messages from the connection manager.
- createWithCode(String, String, Integer) - Static method in class org.igniterealtime.jbosh.TerminalBindingCondition
-
Helper method to add entries.
- createWithPrefix(String, String, String) - Static method in class org.igniterealtime.jbosh.BodyQName
-
Creates a new qualified name using a namespace URI and local name along with an optional prefix.
D
- decode(byte[]) - Static method in class org.igniterealtime.jbosh.GZIPCodec
-
Uncompress/decode the data provided using the GZIP format.
- decode(byte[]) - Static method in class org.igniterealtime.jbosh.ZLIBCodec
-
Uncompress/decode the data provided using the ZLIB format.
- DEFAULT - Static variable in class org.igniterealtime.jbosh.AttrVersion
-
Default value if none is provided.
- DEFAULT_EMPTY_REQUEST_DELAY - Static variable in class org.igniterealtime.jbosh.BOSHClient
-
Default empty request delay.
- DEFAULT_PAUSE_MARGIN - Static variable in class org.igniterealtime.jbosh.BOSHClient
-
Default value for the pause margin.
- defaultNS - Variable in class org.igniterealtime.jbosh.BodyParserSAX.Handler
- destroy() - Method in class org.igniterealtime.jbosh.ApacheHTTPSender
-
Dispose of all resources used to provide the required services.
- destroy() - Method in interface org.igniterealtime.jbosh.HTTPSender
-
Dispose of all resources used to provide the required services.
- disconnect() - Method in class org.igniterealtime.jbosh.BOSHClient
-
End the BOSH session by disconnecting from the remote BOSH connection manager.
- disconnect(ComposableBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
End the BOSH session by disconnecting from the remote BOSH connection manager, sending the provided content in the final connection termination message.
- dispose(Throwable) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Destroy this session.
- doMapCopy - Variable in class org.igniterealtime.jbosh.ComposableBody.Builder
- drain() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Wait until no more messages are waiting to be processed.
- drained - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Condition indicating that there are no outstanding connections.
E
- EMPTY_REQUEST_DELAY - Static variable in class org.igniterealtime.jbosh.BOSHClient
-
Amount of time to wait before sending an empty request, in milliseconds.
- emptyRequestFuture - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Future for sending a deferred empty request, if needed.
- emptyRequestRunnable - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Processor thread runnable instance.
- encode(byte[]) - Static method in class org.igniterealtime.jbosh.GZIPCodec
-
Compress/encode the data provided using the GZIP format.
- encode(byte[]) - Static method in class org.igniterealtime.jbosh.ZLIBCodec
-
Compress/encode the data provided using the ZLIB format.
- encodings - Variable in class org.igniterealtime.jbosh.AttrAccept
-
Array of the accepted encodings.
- equals(Object) - Method in class org.igniterealtime.jbosh.AbstractAttr
- equals(Object) - Method in class org.igniterealtime.jbosh.BodyQName
- equalsQName(QName) - Method in class org.igniterealtime.jbosh.BodyQName
-
Convenience method to compare this qualified name with a
javax.xml.namespace.QName
. - ERROR - Static variable in class org.igniterealtime.jbosh.BOSHClient
-
Value of the 'type' attribute used for recoverable errors.
- escape(String) - Method in class org.igniterealtime.jbosh.ComposableBody
-
Escape the value of an attribute to ensure we maintain valid XML syntax.
- ExchangeInterceptor() - Constructor for class org.igniterealtime.jbosh.BOSHClient.ExchangeInterceptor
-
Limit construction.
- exchanges - Variable in class org.igniterealtime.jbosh.BOSHClient
-
List of active/outstanding requests.
- exchInterceptor - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Storage for test hook implementation.
F
- finalClose(Closeable) - Static method in class org.igniterealtime.jbosh.ServiceLib
-
Check and close a closeable object, trapping and ignoring any exception that might result.
- fireConnectionClosed() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Notifies all connection listeners that the session has been terminated normally.
- fireConnectionClosedOnError(Throwable) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Notifies all connection listeners that the session has been terminated due to the exceptional condition provided.
- fireConnectionEstablished() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Notifies all connection listeners that the session has been successfully established.
- fireRequestSent(AbstractBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Notifies all request listeners that the specified request is being sent.
- fireResponseReceived(AbstractBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Notifies all response listeners that the specified response has been received.
- forHTTPResponseCode(int) - Static method in class org.igniterealtime.jbosh.TerminalBindingCondition
-
Lookup the terminal binding condition instance associated with the HTTP response code specified.
- forString(String) - Static method in class org.igniterealtime.jbosh.TerminalBindingCondition
-
Lookup the terminal binding condition instance with the condition name specified.
- from - Variable in class org.igniterealtime.jbosh.BOSHClientConfig
-
Client ID of this station.
- FROM - Static variable in class org.igniterealtime.jbosh.Attributes
- fromBody(ComposableBody) - Static method in class org.igniterealtime.jbosh.ComposableBody.Builder
-
Creates a builder which is initialized to the values of the provided
ComposableBody
instance. - fromSessionInit(AbstractBody, AbstractBody) - Static method in class org.igniterealtime.jbosh.CMSessionParams
- fromStaticBody(StaticBody) - Static method in class org.igniterealtime.jbosh.ComposableBody
-
Parse a static body instance into a composable instance.
- fromStream(InputStream) - Static method in class org.igniterealtime.jbosh.StaticBody
-
Creates an instance which is initialized by reading a body message from the provided stream.
- fromString(String) - Static method in class org.igniterealtime.jbosh.StaticBody
-
Creates an instance which is initialized by reading a body message from the provided raw XML string.
G
- generateInitialValue() - Method in class org.igniterealtime.jbosh.RequestIDSequence
-
Generates an initial RID value by generating numbers until a number is found which is smaller than the maximum allowed value and greater than zero.
- getAccept() - Method in class org.igniterealtime.jbosh.CMSessionParams
- getAck() - Method in class org.igniterealtime.jbosh.CMSessionParams
- getAttribute(BodyQName) - Method in class org.igniterealtime.jbosh.AbstractBody
-
Get the value of the specified attribute.
- getAttributeNames() - Method in class org.igniterealtime.jbosh.AbstractBody
-
Get a set of all defined attribute names.
- getAttributes() - Method in class org.igniterealtime.jbosh.AbstractBody
-
Get a map of all defined attribute names with their corresponding values.
- getAttributes() - Method in class org.igniterealtime.jbosh.BodyParserResults
-
Returns the map of attributes added by the parser.
- getAttributes() - Method in class org.igniterealtime.jbosh.ComposableBody
-
Get a map of all defined attribute names with their corresponding values.
- getAttributes() - Method in class org.igniterealtime.jbosh.StaticBody
-
Get a map of all defined attribute names with their corresponding values.
- getBody() - Method in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
Wait for and then return the response body.
- getBody() - Method in class org.igniterealtime.jbosh.BOSHMessageEvent
-
Gets the message body which was sent or received.
- getBody() - Method in interface org.igniterealtime.jbosh.HTTPResponse
-
Get the HTTP response message body.
- getBodyQName() - Static method in class org.igniterealtime.jbosh.AbstractBody
-
Returns the qualified name of the root/wrapper element.
- getBOSHClient() - Method in class org.igniterealtime.jbosh.BOSHClientConnEvent
-
Gets the client from which this event originated.
- getBOSHClientConfig() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Get the client configuration that was used to create this client instance.
- getCause() - Method in class org.igniterealtime.jbosh.BOSHClientConnEvent
-
Returns the underlying cause of the error condition.
- getCharsets() - Method in class org.igniterealtime.jbosh.CMSessionParams
- getCMSessionParams() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Get the current CM session params.
- getCondition() - Method in class org.igniterealtime.jbosh.TerminalBindingCondition
-
Get the name of the condition.
- getDefaultEmptyRequestDelay() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Calculates the default empty request delay/interval to use for the active session.
- getFrom() - Method in class org.igniterealtime.jbosh.BOSHClientConfig
-
Get the ID of the local client.
- getHold() - Method in class org.igniterealtime.jbosh.CMSessionParams
- getHTTPResponse() - Method in class org.igniterealtime.jbosh.HTTPExchange
-
Get the HTTPResponse instance.
- getHTTPStatus() - Method in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
Wait for and then return the response HTTP status code.
- getHTTPStatus() - Method in interface org.igniterealtime.jbosh.HTTPResponse
-
Get the HTTP status code of the response (e.g., 200, 404, etc.).
- getID() - Static method in class org.igniterealtime.jbosh.GZIPCodec
-
Returns the name of the codec.
- getID() - Static method in class org.igniterealtime.jbosh.ZLIBCodec
-
Returns the name of the codec.
- getInactivityPeriod() - Method in class org.igniterealtime.jbosh.CMSessionParams
- getInMilliseconds() - Method in class org.igniterealtime.jbosh.AttrMaxPause
-
Get the max pause time in milliseconds.
- getInMilliseconds() - Method in class org.igniterealtime.jbosh.AttrPause
-
Get the pause time in milliseconds.
- getInMilliseconds() - Method in class org.igniterealtime.jbosh.AttrPolling
-
Get the polling interval in milliseconds.
- getLang() - Method in class org.igniterealtime.jbosh.BOSHClientConfig
-
Get the default language of any human-readable content within the XML.
- getLocalPart() - Method in class org.igniterealtime.jbosh.BodyQName
-
Get the local part of this qualified name.
- getMajor() - Method in class org.igniterealtime.jbosh.AttrVersion
-
Returns the 'major' portion of the version number.
- getMaxPause() - Method in class org.igniterealtime.jbosh.CMSessionParams
- getMessage() - Method in class org.igniterealtime.jbosh.TerminalBindingCondition
-
Get the human readable error message associated with this condition.
- getMinor() - Method in class org.igniterealtime.jbosh.AttrVersion
-
Returns the 'minor' portion of the version number.
- getNamespaceURI() - Method in class org.igniterealtime.jbosh.BodyQName
-
Get the namespace URI of this qualified name.
- getNextRID() - Method in class org.igniterealtime.jbosh.RequestIDSequence
-
Calculates the next request ID value to use.
- getOutstandingRequests() - Method in class org.igniterealtime.jbosh.BOSHClientConnEvent
-
Get the list of requests which may not have been sent or were not acknowledged by the remote connection manager prior to session termination.
- getPayloadXML() - Method in class org.igniterealtime.jbosh.ComposableBody
-
Get the paylaod XML in String form.
- getPollingInterval() - Method in class org.igniterealtime.jbosh.CMSessionParams
- getPrefix() - Method in class org.igniterealtime.jbosh.BodyQName
-
Get the optional prefix used with this qualified name, or
null
if no prefix has been assiciated. - getProxyHost() - Method in class org.igniterealtime.jbosh.BOSHClientConfig
-
Get the HTTP proxy host to use.
- getProxyPort() - Method in class org.igniterealtime.jbosh.BOSHClientConfig
-
Get the HTTP proxy port to use.
- getRequest() - Method in class org.igniterealtime.jbosh.HTTPExchange
-
Get the original request message.
- getRequests() - Method in class org.igniterealtime.jbosh.CMSessionParams
- getRequiredAttribute(AbstractBody, BodyQName) - Static method in class org.igniterealtime.jbosh.CMSessionParams
- getRoute() - Method in class org.igniterealtime.jbosh.BOSHClientConfig
-
Get the routing information for messages sent to the CM.
- getSAXParser() - Static method in class org.igniterealtime.jbosh.BodyParserSAX
-
Gets a SAXParser for use in parsing incoming messages.
- getSessionID() - Method in class org.igniterealtime.jbosh.CMSessionParams
- getSSLContext() - Method in class org.igniterealtime.jbosh.BOSHClientConfig
-
Get the SSL context to use for this session.
- getSupportedVersion() - Static method in class org.igniterealtime.jbosh.AttrVersion
-
Get the version of specifcation that we support.
- getTerminalBindingCondition(int, AbstractBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Evaluates the HTTP response code and response message and returns the terminal binding condition that it describes, if any.
- getTo() - Method in class org.igniterealtime.jbosh.BOSHClientConfig
-
Get the ID of the target domain.
- getURI() - Method in class org.igniterealtime.jbosh.BOSHClientConfig
-
Get the URI to use to contact the connection manager.
- getValue() - Method in class org.igniterealtime.jbosh.AbstractAttr
-
Gets the encapsulated data value.
- getVersion() - Method in class org.igniterealtime.jbosh.CMSessionParams
- getWait() - Method in class org.igniterealtime.jbosh.CMSessionParams
- getXmlPullParser() - Static method in class org.igniterealtime.jbosh.BodyParserXmlPull
-
Gets a XmlPullParser for use in parsing incoming messages.
- GZIPCodec - Class in org.igniterealtime.jbosh
-
Codec methods for compressing and uncompressing using GZIP.
- GZIPCodec() - Constructor for class org.igniterealtime.jbosh.GZIPCodec
-
Prevent construction.
H
- Handler(SAXParser, BodyParserResults) - Constructor for class org.igniterealtime.jbosh.BodyParserSAX.Handler
- hashCode() - Method in class org.igniterealtime.jbosh.AbstractAttr
- hashCode() - Method in class org.igniterealtime.jbosh.BodyQName
- hold - Variable in class org.igniterealtime.jbosh.CMSessionParams
- HOLD - Static variable in class org.igniterealtime.jbosh.Attributes
- HOST_GONE - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
- HOST_UNKNOWN - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
- httpClient - Variable in class org.igniterealtime.jbosh.ApacheHTTPSender
-
HttpClient instance to use to communicate.
- HTTPExchange - Class in org.igniterealtime.jbosh
-
A request and response pair representing a single exchange with a remote content manager.
- HTTPExchange(AbstractBody) - Constructor for class org.igniterealtime.jbosh.HTTPExchange
-
Create a new request/response pair object.
- HTTPResponse - Interface in org.igniterealtime.jbosh
-
This class represents a complete HTTP response to a request made via a
HTTPSender
send request. - httpSender - Variable in class org.igniterealtime.jbosh.BOSHClient
-
HTTPSender instance.
- HTTPSender - Interface in org.igniterealtime.jbosh
-
Interface used to represent code which can send a BOSH XML body over HTTP to a connection manager.
I
- IMPROPER_ADDRESSING - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
- inactivity - Variable in class org.igniterealtime.jbosh.CMSessionParams
- INACTIVITY - Static variable in class org.igniterealtime.jbosh.Attributes
- INCREMENT_BITS - Static variable in class org.igniterealtime.jbosh.RequestIDSequence
-
Bits devoted to incremented values.
- init() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Initialize the session.
- init(BOSHClientConfig) - Method in class org.igniterealtime.jbosh.ApacheHTTPSender
-
Initialize the HTTP sender instance for use with the session provided.
- init(BOSHClientConfig) - Method in interface org.igniterealtime.jbosh.HTTPSender
-
Initialize the HTTP sender instance for use with the session provided.
- initHttpClient(BOSHClientConfig) - Method in class org.igniterealtime.jbosh.ApacheHTTPSender
- interceptExchange(HTTPExchange) - Method in class org.igniterealtime.jbosh.BOSHClient.ExchangeInterceptor
-
Hook to manipulate an HTTPExchange as is is about to be processed.
- INTERNAL_SERVER_ERROR - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
- INTERRUPTED - Static variable in class org.igniterealtime.jbosh.BOSHClient
-
Message to use for interrupted exceptions.
- intValue() - Method in class org.igniterealtime.jbosh.AbstractIntegerAttr
-
Returns the native
int
value of the underlyingInteger
. - isAccepted(String) - Method in class org.igniterealtime.jbosh.AttrAccept
-
Determines whether or not the specified encoding is supported.
- isAccepted(String) - Method in class org.igniterealtime.jbosh.AttrCharsets
-
Determines whether or not the specified charset is supported.
- isAckingRequests() - Method in class org.igniterealtime.jbosh.CMSessionParams
- isCompressionEnabled() - Method in class org.igniterealtime.jbosh.BOSHClientConfig
-
Determines whether or not compression of the underlying data stream should be attempted/allowed.
- isConnected() - Method in class org.igniterealtime.jbosh.BOSHClientConnEvent
-
Returns whether or not the session has been successfully established and is currently active.
- isError() - Method in class org.igniterealtime.jbosh.BOSHClientConnEvent
-
Returns whether or not this event indicates an error condition.
- isImmediatelySendable(AbstractBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Determines if the message specified is immediately sendable or if it needs to block until the session state changes.
- isPause(AbstractBody) - Static method in class org.igniterealtime.jbosh.BOSHClient
-
Determines if the message body specified indicates a request to pause the session.
- isRecoverableBindingCondition(AbstractBody) - Static method in class org.igniterealtime.jbosh.BOSHClient
-
Determines whether or not the response indicates a recoverable binding condition (as per XEP-0124 section 17).
- isTermination(AbstractBody) - Static method in class org.igniterealtime.jbosh.BOSHClient
-
Determines if the message body specified indicates a termination of the session.
- isWorking() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Determines whether or not the session is still active.
- ITEM_NOT_FOUND - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
K
- KEY - Static variable in class org.igniterealtime.jbosh.Attributes
L
- lang - Variable in class org.igniterealtime.jbosh.BOSHClientConfig
-
Default XML language.
- loadService(Class<T>) - Static method in class org.igniterealtime.jbosh.ServiceLib
-
Probe for and select an implementation of the specified service type by using the a modified Jar SPI mechanism.
- loadServicesImplementations(Class) - Static method in class org.igniterealtime.jbosh.ServiceLib
-
Generates a list of implementation class names by using the Jar SPI technique.
- lock - Variable in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
Lock used for internal synchronization.
- lock - Variable in class org.igniterealtime.jbosh.ApacheHTTPSender
-
Lock used for internal synchronization.
- lock - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Lock instance.
- lock - Variable in class org.igniterealtime.jbosh.HTTPExchange
-
Lock instance used to protect and provide conditions.
- LOCK - Static variable in class org.igniterealtime.jbosh.RequestIDSequence
-
Internal lock.
- LOG - Static variable in class org.igniterealtime.jbosh.BodyParserSAX
-
Logger.
- LOG - Static variable in class org.igniterealtime.jbosh.BodyParserXmlPull
-
Logger.
- LOG - Static variable in class org.igniterealtime.jbosh.BOSHClient
-
Logger.
- LOG - Static variable in class org.igniterealtime.jbosh.HTTPExchange
-
Logger.
- LOG - Static variable in class org.igniterealtime.jbosh.ServiceLib
-
Logger.
M
- major - Variable in class org.igniterealtime.jbosh.AttrVersion
-
Major portion of the version.
- map - Variable in class org.igniterealtime.jbosh.ComposableBody.Builder
- MASK - Static variable in class org.igniterealtime.jbosh.RequestIDSequence
-
Max bits mask.
- MAX_BITS - Static variable in class org.igniterealtime.jbosh.RequestIDSequence
-
Maximum number of bits available for representing request IDs, according to the XEP-0124 spec.s
- MAX_INITIAL - Static variable in class org.igniterealtime.jbosh.RequestIDSequence
-
Max initial value.
- maxPause - Variable in class org.igniterealtime.jbosh.CMSessionParams
- MAXPAUSE - Static variable in class org.igniterealtime.jbosh.Attributes
- MIN_INCREMENTS - Static variable in class org.igniterealtime.jbosh.RequestIDSequence
-
Minimum number of times the initial RID can be incremented before exceeding the maximum.
- minor - Variable in class org.igniterealtime.jbosh.AttrVersion
-
Minor portion of the version.
- msg - Variable in class org.igniterealtime.jbosh.TerminalBindingCondition
-
Descriptive message.
N
- NEWKEY - Static variable in class org.igniterealtime.jbosh.Attributes
- nextExchange() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Get the next message exchange to process, blocking until one becomes available if nothing is already waiting for processing.
- nextRequestID - Variable in class org.igniterealtime.jbosh.RequestIDSequence
-
The last reqest ID used, or <= 0 if a new request ID needs to be generated.
- notEmpty - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Condition indicating that there are messages to be exchanged.
- notFull - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Condition indicating that there are available slots for sending messages.
- NULL_LISTENER - Static variable in class org.igniterealtime.jbosh.BOSHClient
-
Message used whena null listener is detected.
O
- org.igniterealtime.jbosh - package org.igniterealtime.jbosh
-
Core classes of the JBOSH API.
- OTHER_REQUEST - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
P
- parse(String) - Method in interface org.igniterealtime.jbosh.BodyParser
-
Parses the XML message, extracting the useful data from the initial body element and returning it in a results object.
- parse(String) - Method in class org.igniterealtime.jbosh.BodyParserSAX
-
Parses the XML message, extracting the useful data from the initial body element and returning it in a results object.
- parse(String) - Method in class org.igniterealtime.jbosh.BodyParserXmlPull
-
Parses the XML message, extracting the useful data from the initial body element and returning it in a results object.
- parseInt(String) - Static method in class org.igniterealtime.jbosh.AbstractIntegerAttr
-
Utility method to parse a
String
into anInteger
, converting any possibleNumberFormatException
thrown into aBOSHException
. - parser - Variable in class org.igniterealtime.jbosh.BodyParserSAX.Handler
- PARSER - Static variable in class org.igniterealtime.jbosh.BodyParserSAX
-
Thread local to contain a SAX parser instance for each thread that attempts to use one.
- PARSER - Static variable in class org.igniterealtime.jbosh.StaticBody
-
Selected parser to be used to process raw XML messages.
- pause() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Attempt to pause the current session.
- PAUSE - Static variable in class org.igniterealtime.jbosh.Attributes
- PAUSE_MARGIN - Static variable in class org.igniterealtime.jbosh.BOSHClient
-
The amount of time in milliseconds which will be reserved as a safety margin when scheduling empty requests against a maxpause value.
- payload - Variable in class org.igniterealtime.jbosh.ComposableBody
-
Payload XML.
- payloadXML - Variable in class org.igniterealtime.jbosh.ComposableBody.Builder
- pendingRequestAcks - Variable in class org.igniterealtime.jbosh.BOSHClient
-
List of requests which have been made but not yet acknowledged.
- pendingResponseAcks - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Set of RIDs which have been received, for the purpose of sending response acknowledgements.
- POLICY_VIOLATION - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
- polling - Variable in class org.igniterealtime.jbosh.CMSessionParams
- POLLING - Static variable in class org.igniterealtime.jbosh.Attributes
- post - Variable in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
The HTTP POST request is sent to the server.
- processExchange(HTTPExchange) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Process the next, provided exchange.
- processMessages() - Method in class org.igniterealtime.jbosh.BOSHClient
-
While we are "connected", process received responses.
- processPauseRequest(AbstractBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Process the request to determine if the empty request delay can be determined by looking to see if the request is a pause request.
- processRequestAcknowledgements(AbstractBody, AbstractBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Check the response for request acknowledgements and take appropriate action.
- processResponseAcknowledgementData(AbstractBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Process the response in order to update the response acknowlegement data.
- processResponseAcknowledgementReport(AbstractBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Process the response in order to check for and respond to any potential ack reports.
- procRunnable - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Processor thread runnable instance.
- procThread - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Thread which is used to process responses from the connection manager.
- proxyHost - Variable in class org.igniterealtime.jbosh.BOSHClientConfig
-
Proxy host.
- proxyPort - Variable in class org.igniterealtime.jbosh.BOSHClientConfig
-
Proxy port.
Q
R
- RAND - Static variable in class org.igniterealtime.jbosh.RequestIDSequence
-
Random number generator.
- raw - Variable in class org.igniterealtime.jbosh.StaticBody
-
This body message in raw XML form.
- ready - Variable in class org.igniterealtime.jbosh.HTTPExchange
-
Condition used to signal when the response has been set.
- rebuild() - Method in class org.igniterealtime.jbosh.ComposableBody
-
If this
ComposableBody
instance is a dynamic instance, uses thisComposableBody
instance as a starting point, create a builder which can be used to create anotherComposableBody
instance based on this one. - REMOTE_CONNECTION_FAILED - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
- REMOTE_STREAM_ERROR - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
- removeBOSHClientConnListener(BOSHClientConnListener) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Removes a connection listener from the session.
- removeBOSHClientRequestListener(BOSHClientRequestListener) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Removes a request message listener from the session, if previously added.
- removeBOSHClientResponseListener(BOSHClientResponseListener) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Removes a response message listener from the session, if previously added.
- REPORT - Static variable in class org.igniterealtime.jbosh.Attributes
- request - Variable in class org.igniterealtime.jbosh.HTTPExchange
-
Request body.
- requestIDSeq - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Request ID sequence to use for the session.
- RequestIDSequence - Class in org.igniterealtime.jbosh
-
Request ID sequence generator.
- RequestIDSequence() - Constructor for class org.igniterealtime.jbosh.RequestIDSequence
-
Prevent direct construction.
- requestListeners - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Request listeners.
- requests - Variable in class org.igniterealtime.jbosh.BOSHClientConnEvent
-
List of outstanding requests which may not have been sent and/or acknowledged by the remote CM.
- requests - Variable in class org.igniterealtime.jbosh.CMSessionParams
- REQUESTS - Static variable in class org.igniterealtime.jbosh.Attributes
- requestSent(BOSHMessageEvent) - Method in interface org.igniterealtime.jbosh.BOSHClientRequestListener
-
Called when the listener is being notified that a client request is about to be sent to the connection manager.
- response - Variable in class org.igniterealtime.jbosh.HTTPExchange
-
HTTPResponse instance.
- responseAck - Variable in class org.igniterealtime.jbosh.BOSHClient
-
The highest RID that we've already received a response for.
- responseListeners - Variable in class org.igniterealtime.jbosh.BOSHClient
-
Response listeners.
- responseReceived(BOSHMessageEvent) - Method in interface org.igniterealtime.jbosh.BOSHClientResponseListener
-
Called when the listener is being notified that a response has been received from the connection manager.
- result - Variable in class org.igniterealtime.jbosh.BodyParserSAX.Handler
- RID - Static variable in class org.igniterealtime.jbosh.Attributes
- route - Variable in class org.igniterealtime.jbosh.BOSHClientConfig
-
Routing information for messages sent to CM.
- ROUTE - Static variable in class org.igniterealtime.jbosh.Attributes
S
- SAX_FACTORY - Static variable in class org.igniterealtime.jbosh.BodyParserSAX
-
SAX parser factory.
- schedExec - Variable in class org.igniterealtime.jbosh.BOSHClient
-
ScheduledExcecutor to use for deferred tasks.
- scheduleEmptyRequest(long) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Schedule an empty request to be sent if no other requests are sent in a reasonable amount of time.
- SECURE - Static variable in class org.igniterealtime.jbosh.Attributes
- SEE_OTHER_URI - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
- send(CMSessionParams, AbstractBody) - Method in class org.igniterealtime.jbosh.ApacheHTTPSender
-
Create a
Callable
instance which can be used to send the request specified to the connection manager. - send(CMSessionParams, AbstractBody) - Method in interface org.igniterealtime.jbosh.HTTPSender
-
Create a
Callable
instance which can be used to send the request specified to the connection manager. - send(ComposableBody) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Send the provided message data to the remote connection manager.
- sendEmptyRequest() - Method in class org.igniterealtime.jbosh.BOSHClient
-
Sends an empty request to maintain session requirements.
- sent - Variable in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
A flag which indicates if the transmission was already done.
- serialVersionUID - Static variable in class org.igniterealtime.jbosh.BOSHClientConnEvent
-
Serialized version.
- serialVersionUID - Static variable in exception org.igniterealtime.jbosh.BOSHException
-
Servial version UID.
- serialVersionUID - Static variable in class org.igniterealtime.jbosh.BOSHMessageEvent
-
Serialized version.
- ServiceLib - Class in org.igniterealtime.jbosh
-
Utility library for use in loading services using the Jar Service Provider Interface (Jar SPI).
- ServiceLib() - Constructor for class org.igniterealtime.jbosh.ServiceLib
-
Prevent construction.
- setAttribute(BodyQName, String) - Method in class org.igniterealtime.jbosh.ComposableBody.Builder
-
Set an attribute on the message body / wrapper element.
- setCompressionEnabled(boolean) - Method in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
-
Set whether or not compression of the underlying data stream should be attempted.
- setExchangeInterceptor(BOSHClient.ExchangeInterceptor) - Method in class org.igniterealtime.jbosh.BOSHClient
-
Test method used to forcibly discard next exchange.
- setFrom(String) - Method in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
-
Set the ID of the client station, to be forwarded to the connection manager when new sessions are created.
- setHTTPResponse(HTTPResponse) - Method in class org.igniterealtime.jbosh.HTTPExchange
-
Set the HTTPResponse instance.
- setNamespaceDefinition(String, String) - Method in class org.igniterealtime.jbosh.ComposableBody.Builder
-
Convenience method to set a namespace definition.
- setPayloadXML(String) - Method in class org.igniterealtime.jbosh.ComposableBody.Builder
-
Set the body message's wrapped payload content.
- setProxy(String, int) - Method in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
-
Specify the hostname and port of an HTTP proxy to connect through.
- setRoute(String, String, int) - Method in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
-
Sets the destination server/domain that the client should connect to.
- setSSLContext(SSLContext) - Method in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
-
Set the SSL context to use for this session.
- setXMLLang(String) - Method in class org.igniterealtime.jbosh.BOSHClientConfig.Builder
-
Set the default language of any human-readable content within the XML.
- sid - Variable in class org.igniterealtime.jbosh.CMSessionParams
- SID - Static variable in class org.igniterealtime.jbosh.Attributes
- sslContext - Variable in class org.igniterealtime.jbosh.BOSHClientConfig
-
SSL context.
- startElement(String, String, String, Attributes) - Method in class org.igniterealtime.jbosh.BodyParserSAX.Handler
- startPrefixMapping(String, String) - Method in class org.igniterealtime.jbosh.BodyParserSAX.Handler
-
This implementation uses this event hook to keep track of the default namespace on the body element.
- StaticBody - Class in org.igniterealtime.jbosh
-
Implementation of the
AbstractBody
class which allows for the definition of messages from pre-existing message content. - StaticBody(Map<BodyQName, String>, String) - Constructor for class org.igniterealtime.jbosh.StaticBody
-
Prevent direct construction.
- statusCode - Variable in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
The HTTP response status code.
- STREAM - Static variable in class org.igniterealtime.jbosh.Attributes
- SYSTEM_SHUTDOWN - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
T
- TerminalBindingCondition - Class in org.igniterealtime.jbosh
-
Terminal binding conditions and their associated messages.
- TerminalBindingCondition(String, String) - Constructor for class org.igniterealtime.jbosh.TerminalBindingCondition
-
Private constructor to pre
- TERMINATE - Static variable in class org.igniterealtime.jbosh.BOSHClient
-
Value of the 'type' attribute used for session termination.
- TIME - Static variable in class org.igniterealtime.jbosh.Attributes
- to - Variable in class org.igniterealtime.jbosh.BOSHClientConfig
-
Target domain.
- TO - Static variable in class org.igniterealtime.jbosh.Attributes
- toString() - Method in class org.igniterealtime.jbosh.AbstractAttr
- toThrow - Variable in class org.igniterealtime.jbosh.ApacheHTTPResponse
-
Exception to throw when the response data is attempted to be accessed, or
null
if no exception should be thrown. - toXML() - Method in class org.igniterealtime.jbosh.AbstractBody
-
Get an XML String representation of this message.
- toXML() - Method in class org.igniterealtime.jbosh.ComposableBody
-
Get an XML String representation of this message.
- toXML() - Method in class org.igniterealtime.jbosh.StaticBody
-
Get an XML String representation of this message.
- TYPE - Static variable in class org.igniterealtime.jbosh.Attributes
U
- UNDEFINED_CONDITION - Static variable in class org.igniterealtime.jbosh.TerminalBindingCondition
- UNHANDLED - Static variable in class org.igniterealtime.jbosh.BOSHClient
-
Message used for unhandled exceptions.
- uri - Variable in class org.igniterealtime.jbosh.BOSHClientConfig
-
Connection manager URI.
V
- value - Variable in class org.igniterealtime.jbosh.AbstractAttr
-
Captured value.
- ver - Variable in class org.igniterealtime.jbosh.CMSessionParams
- VER - Static variable in class org.igniterealtime.jbosh.Attributes
W
- wait - Variable in class org.igniterealtime.jbosh.CMSessionParams
- WAIT - Static variable in class org.igniterealtime.jbosh.Attributes
X
- XML_LANG - Static variable in class org.igniterealtime.jbosh.Attributes
- XPP_PARSER - Static variable in class org.igniterealtime.jbosh.BodyParserXmlPull
-
Thread local to contain a XmlPullParser instance for each thread that attempts to use one.
Z
- ZLIBCodec - Class in org.igniterealtime.jbosh
-
Codec methods for compressing and uncompressing using ZLIB.
- ZLIBCodec() - Constructor for class org.igniterealtime.jbosh.ZLIBCodec
-
Prevent construction.
All Classes All Packages