public final class BOSHClientConnEvent extends EventObject
source| Modifier and Type | Method and Description |
|---|---|
BOSHClient |
getBOSHClient()
Gets the client from which this event originated.
|
Throwable |
getCause()
Returns the underlying cause of the error condition.
|
List<ComposableBody> |
getOutstandingRequests()
Get the list of requests which may not have been sent or were not
acknowledged by the remote connection manager prior to session
termination.
|
boolean |
isConnected()
Returns whether or not the session has been successfully established
and is currently active.
|
boolean |
isError()
Returns whether or not this event indicates an error condition.
|
getSource, toStringpublic BOSHClient getBOSHClient()
public boolean isConnected()
true if a session is active, false otherwisepublic boolean isError()
true when isConnected() returns
true.true if the event indicates a terminal error has
occurred, false otherwise.public Throwable getCause()
null when @{code isError()} returns
false. Similarly, this method is guaranteed to return
non-@{code null} if isError() returns true.null if
this event does not represent an error conditionpublic List<ComposableBody> getOutstandingRequests()
Copyright © 2015. All rights reserved.