private void |
BOSHClient.blockUntilSendable(AbstractBody msg) |
Blocks until either the message provided becomes immediately
sendable or until the session is terminated.
|
private void |
BOSHClient.checkForTerminalBindingConditions(AbstractBody body,
int code) |
Checks to see if the response indicates a terminal binding condition
(as per XEP-0124 section 17).
|
(package private) static BOSHMessageEvent |
BOSHMessageEvent.createRequestSentEvent(BOSHClient source,
AbstractBody body) |
Creates a new message event for clients sending events to the
connection manager.
|
(package private) static BOSHMessageEvent |
BOSHMessageEvent.createResponseReceivedEvent(BOSHClient source,
AbstractBody body) |
Creates a new message event for clients receiving new messages
from the connection manager.
|
private void |
BOSHClient.fireRequestSent(AbstractBody request) |
Notifies all request listeners that the specified request is being
sent.
|
private void |
BOSHClient.fireResponseReceived(AbstractBody response) |
Notifies all response listeners that the specified response has been
received.
|
(package private) static CMSessionParams |
CMSessionParams.fromSessionInit(AbstractBody req,
AbstractBody resp) |
|
private static java.lang.String |
CMSessionParams.getRequiredAttribute(AbstractBody body,
BodyQName name) |
|
private TerminalBindingCondition |
BOSHClient.getTerminalBindingCondition(int respCode,
AbstractBody respBody) |
Evaluates the HTTP response code and response message and returns the
terminal binding condition that it describes, if any.
|
private boolean |
BOSHClient.isImmediatelySendable(AbstractBody msg) |
Determines if the message specified is immediately sendable or if it
needs to block until the session state changes.
|
private static boolean |
BOSHClient.isPause(AbstractBody msg) |
Determines if the message body specified indicates a request to
pause the session.
|
private static boolean |
BOSHClient.isRecoverableBindingCondition(AbstractBody resp) |
Determines whether or not the response indicates a recoverable
binding condition (as per XEP-0124 section 17).
|
private static boolean |
BOSHClient.isTermination(AbstractBody msg) |
Determines if the message body specified indicates a termination of
the session.
|
private long |
BOSHClient.processPauseRequest(AbstractBody req) |
Process the request to determine if the empty request delay
can be determined by looking to see if the request is a pause
request.
|
private void |
BOSHClient.processRequestAcknowledgements(AbstractBody req,
AbstractBody resp) |
Check the response for request acknowledgements and take appropriate
action.
|
private void |
BOSHClient.processResponseAcknowledgementData(AbstractBody req) |
Process the response in order to update the response acknowlegement
data.
|
private HTTPExchange |
BOSHClient.processResponseAcknowledgementReport(AbstractBody resp) |
Process the response in order to check for and respond to any potential
ack reports.
|
HTTPResponse |
ApacheHTTPSender.send(CMSessionParams params,
AbstractBody body) |
Create a Callable instance which can be used to send the
request specified to the connection manager.
|
HTTPResponse |
HTTPSender.send(CMSessionParams params,
AbstractBody body) |
Create a Callable instance which can be used to send the
request specified to the connection manager.
|