| Package | Description |
|---|---|
| tigase.jaxmpp.core.client |
Core of JAXMPP library.
|
| tigase.jaxmpp.core.client.connector |
Classes for implementing Connectors.
|
| tigase.jaxmpp.core.client.eventbus |
EventBus is mechanism to dispatch events fired by few modules to all listeners.
|
| tigase.jaxmpp.core.client.xmpp.modules |
Support for XMPP Modules.
|
| tigase.jaxmpp.core.client.xmpp.modules.auth |
Support for SASL and non-SASL authentication .
|
| tigase.jaxmpp.core.client.xmpp.modules.auth.saslmechanisms | |
| tigase.jaxmpp.core.client.xmpp.modules.connection | |
| tigase.jaxmpp.core.client.xmpp.modules.disco |
Support for XEP-0030: Service Discovery.
|
| tigase.jaxmpp.core.client.xmpp.modules.streammng | |
| tigase.jaxmpp.core.client.xmpp.stream |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSessionObject
Default representation of SessionObject
|
| Modifier and Type | Field and Description |
|---|---|
protected SessionObject |
JaxmppCore.sessionObject |
protected SessionObject |
ConnectionConfiguration.sessionObject |
| Modifier and Type | Method and Description |
|---|---|
SessionObject |
JaxmppCore.getSessionObject()
Returns
SessionObject. |
SessionObject |
Context.getSessionObject()
Returns
SessionObject. |
SessionObject |
SessionObject.setProperty(SessionObject.Scope scope,
String key,
Object value)
Set property in given scope.
|
SessionObject |
AbstractSessionObject.setProperty(SessionObject.Scope scope,
String key,
Object value) |
SessionObject |
SessionObject.setProperty(String key,
Object value)
Set property in session scope.
|
SessionObject |
AbstractSessionObject.setProperty(String key,
Object value)
Set property in session scope.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends JaxmppCore> |
MultiJaxmpp.get(SessionObject sessionObject)
Returns instance of JaxmppCore connected registered for
specific user account represented by SessionObject.
|
static ResponseManager |
ResponseManager.getResponseManager(SessionObject sessionObject) |
void |
SessionObject.ClearedHandler.onCleared(SessionObject sessionObject,
Set<SessionObject.Scope> scopes)
Called when
SessionObject.ClearedHandler.ClearedEvent if fired. |
void |
Connector.ConnectedHandler.onConnected(SessionObject sessionObject)
Called when LoggedInEvent is fired.
|
protected void |
JaxmppCore.onConnectorStateChanged(SessionObject sessionObject,
Connector.State oldState,
Connector.State newState) |
void |
Connector.DisconnectedHandler.onDisconnected(SessionObject sessionObject)
Called when Connector.DisconnectedHandler.DisconnectedEvent is fired.
|
void |
Connector.EncryptionEstablishedHandler.onEncryptionEstablished(SessionObject sessionObject)
Called when EncryptionEstablishedEvent is fired.
|
void |
Connector.ErrorHandler.onError(SessionObject sessionObject,
StreamError condition,
Throwable caught)
Called when ErrorEvent is fired.
|
void |
JaxmppCore.LoggedInHandler.onLoggedIn(SessionObject sessionObject)
Called when LoggedInEvent is fired.
|
void |
JaxmppCore.LoggedOutHandler.onLoggedOut(SessionObject sessionObject)
Called when LoggedOutEvent is fired.
|
void |
Connector.StanzaReceivedHandler.onStanzaReceived(SessionObject sessionObject,
StreamPacket stanza)
Called when StanzaReceivedEvent is
fired.
|
void |
Connector.StanzaSendingHandler.onStanzaSending(SessionObject sessionObject,
Element stanza)
Called when StanzaSendingEvent is
fired.
|
void |
Connector.StateChangedHandler.onStateChanged(SessionObject sessionObject,
Connector.State oldState,
Connector.State newState)
Called when StateChangedEvent is
fired.
|
void |
Connector.StreamRestartedHandler.onStreamRestarted(SessionObject sessionObject) |
void |
Connector.StreamTerminatedHandler.onStreamTerminated(SessionObject sessionObject)
Called when when StreamTerminatedEvent is fired.
|
void |
XmppSessionLogic.XmppSessionEstablishedHandler.onXmppSessionEstablished(SessionObject sessionObject) |
static String |
ResponseManager.registerResponseHandler(SessionObject sessionObject,
Element stanza,
Long timeout,
AsyncCallback callback) |
static void |
ResponseManager.setResponseManager(SessionObject sessionObject,
ResponseManager responseManager) |
| Constructor and Description |
|---|
ClearedEvent(SessionObject sessionObject,
Set<SessionObject.Scope> scopes) |
ConnectedEvent(SessionObject sessionObject) |
ConnectionConfiguration(SessionObject sessionObject) |
DisconnectedEvent(SessionObject sessionObject) |
EncryptionEstablishedEvent(SessionObject sessionObject) |
ErrorEvent(SessionObject sessionObject,
StreamError condition,
Throwable caught) |
LoggedInEvent(SessionObject sessionObject) |
LoggedOutEvent(SessionObject sessionObject) |
StanzaReceivedEvent(SessionObject sessionObject,
StreamPacket stanza) |
StanzaSendingEvent(SessionObject sessionObject,
Element stanza) |
StateChangedEvent(SessionObject sessionObject,
Connector.State oldState,
Connector.State newState) |
StreamRestaredEvent(SessionObject sessionObject) |
StreamTerminatedEvent(SessionObject sessionObject) |
XmppSessionEstablishedEvent(SessionObject sessionObject) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractBoshConnector.fireOnConnected(SessionObject sessionObject) |
protected void |
AbstractWebSocketConnector.fireOnConnected(SessionObject sessionObject) |
protected void |
AbstractWebSocketConnector.fireOnError(Element response,
Throwable caught,
SessionObject sessionObject) |
protected void |
AbstractBoshConnector.fireOnError(int responseCode,
String responseData,
Element response,
Throwable caught,
SessionObject sessionObject) |
protected void |
AbstractBoshConnector.fireOnStanzaReceived(int responseCode,
String responseData,
Element response,
SessionObject sessionObject) |
protected void |
AbstractWebSocketConnector.fireOnStanzaReceived(StreamPacket response,
SessionObject sessionObject) |
protected void |
AbstractBoshConnector.fireOnTerminate(int responseCode,
String responseData,
Element response,
SessionObject sessionObject) |
protected void |
AbstractWebSocketConnector.fireOnTerminate(SessionObject sessionObject) |
void |
AbstractBoshConnector.BoshPacketReceivedHandler.onBoshPacketReceived(SessionObject sessionObject,
int responseCode,
Element response)
Called when BoshPacketReceivedEvent is fired.
|
void |
AbstractBoshConnector.BoshPacketSendingHandler.onBoshPacketSending(SessionObject sessionObject,
Element packet)
Called when BoshPacketSendingEvent is fired.
|
protected void |
BoshXmppSessionLogic.onResourceBindError(SessionObject sessionObject2,
SessionObject sessionObject3) |
protected void |
BoshXmppSessionLogic.onResourceBindSuccess(SessionObject sessionObject,
JID bindedJid) |
protected void |
BoshXmppSessionLogic.onStreamFeaturesReceived(SessionObject sessionObject,
Element featuresElement) |
void |
AbstractSocketXmppSessionLogic.onStreamManagementFailed(SessionObject sessionObject,
XMPPException.ErrorCondition condition) |
void |
AbstractSocketXmppSessionLogic.onStreamResumed(SessionObject sessionObject,
Long h,
String previd) |
protected void |
BoshXmppSessionLogic.processAuthFail(SessionObject sessionObject,
SaslModule.SaslError error) |
protected void |
BoshXmppSessionLogic.processAuthSucess(SessionObject sessionObject) |
protected void |
AbstractSocketXmppSessionLogic.processResourceBindEvent(SessionObject sessionObject,
JID bindedJid) |
| Constructor and Description |
|---|
BoshPacketReceivedEvent(SessionObject sessionObject,
int responseCode,
Element response,
String responseData) |
BoshPacketSendingEvent(SessionObject sessionObject,
Element element) |
SeeOtherHostEvent(SessionObject sessionObject,
String seeHost,
MutableBoolean handled) |
| Modifier and Type | Field and Description |
|---|---|
protected SessionObject |
JaxmppEvent.sessionObject |
| Modifier and Type | Method and Description |
|---|---|
SessionObject |
JaxmppEvent.getSessionObject()
Return
session object. |
| Constructor and Description |
|---|
JaxmppEvent(SessionObject sessionObject)
Constructs event object.
|
JaxmppEventWithCallback(SessionObject sessionObject,
JaxmppEventWithCallback.RunAfter<? extends JaxmppEventWithCallback> runAfter) |
| Modifier and Type | Method and Description |
|---|---|
static JID |
ResourceBinderModule.getBindedJID(SessionObject sessionObject) |
static Element |
StreamFeaturesModule.getStreamFeatures(SessionObject sessionObject) |
static boolean |
StreamFeaturesModule.isPipeliningActive(SessionObject sessionObject) |
static boolean |
SessionEstablishmentModule.isSessionEstablishingAvailable(SessionObject sessionObject) |
ArrayList<Element> |
StreamFeaturesModule.CacheProvider.load(SessionObject sessionObject) |
void |
ResourceBinderModule.ResourceBindErrorHandler.onResourceBindError(SessionObject sessionObject,
XMPPException.ErrorCondition errorCondition) |
void |
ResourceBinderModule.ResourceBindSuccessHandler.onResourceBindSuccess(SessionObject sessionObject,
JID bindedJid) |
void |
SessionEstablishmentModule.SessionEstablishmentErrorHandler.onSessionEstablishmentError(SessionObject sessionObject,
XMPPException.ErrorCondition error) |
void |
SessionEstablishmentModule.SessionEstablishmentSuccessHandler.onSessionEstablishmentSuccess(SessionObject sessionObject) |
void |
StreamFeaturesModule.StreamFeaturesReceivedHandler.onStreamFeaturesReceived(SessionObject sessionObject,
Element featuresElement) |
void |
StreamFeaturesModule.CacheProvider.save(SessionObject sessionObject,
ArrayList<Element> features) |
static void |
StreamFeaturesModule.setCacheProvider(SessionObject sessionObject,
StreamFeaturesModule.CacheProvider provider) |
| Constructor and Description |
|---|
ResourceBindErrorEvent(SessionObject sessionObject,
XMPPException.ErrorCondition error) |
ResourceBindSuccessEvent(SessionObject sessionObject,
JID jid) |
SessionEstablishmentErrorEvent(SessionObject sessionObject,
XMPPException.ErrorCondition error) |
SessionEstablishmentSuccessEvent(SessionObject sessionObject) |
StreamFeaturesReceivedEvent(SessionObject sessionObject,
Element element) |
| Modifier and Type | Method and Description |
|---|---|
String |
SaslMechanism.evaluateChallenge(String input,
SessionObject sessionObject)
Evaluating challenge received from server.
|
static List<String> |
SaslModule.getAllowedSASLMechanisms(SessionObject sessionObject) |
boolean |
SaslMechanism.isAllowedToUse(SessionObject sessionObject)
This method is used to check if mechanism can be used with current
session.
|
static boolean |
AuthModule.isAuthAvailable(SessionObject sessionObject) |
boolean |
SaslMechanism.isComplete(SessionObject sessionObject)
Determines whether the authentication exchange has completed.
|
void |
SaslModule.SaslAuthFailedHandler.onAuthFailed(SessionObject sessionObject,
SaslModule.SaslError error) |
void |
AuthModule.AuthFailedHandler.onAuthFailed(SessionObject sessionObject,
SaslModule.SaslError error) |
void |
NonSaslAuthModule.NonSaslAuthFailedHandler.onAuthFailed(SessionObject sessionObject,
XMPPException.ErrorCondition errorCondition) |
void |
AuthModule.AuthStartHandler.onAuthStart(SessionObject sessionObject) |
void |
NonSaslAuthModule.NonSaslAuthStartHandler.onAuthStart(SessionObject sessionObject,
IQ iq) |
void |
SaslModule.SaslAuthStartHandler.onAuthStart(SessionObject sessionObject,
String mechanismName) |
void |
NonSaslAuthModule.NonSaslAuthSuccessHandler.onAuthSuccess(SessionObject sessionObject) |
void |
SaslModule.SaslAuthSuccessHandler.onAuthSuccess(SessionObject sessionObject) |
void |
AuthModule.AuthSuccessHandler.onAuthSuccess(SessionObject sessionObject) |
| Constructor and Description |
|---|
AuthFailedEvent(SessionObject sessionObject,
SaslModule.SaslError error) |
AuthStartEvent(SessionObject sessionObject) |
AuthSuccessEvent(SessionObject sessionObject) |
DefaultCredentialsCallback(SessionObject sessionObject) |
NonSaslAuthFailedEvent(SessionObject sessionObject,
XMPPException.ErrorCondition error) |
NonSaslAuthStartEvent(SessionObject sessionObject,
IQ iq) |
NonSaslAuthSuccessEvent(SessionObject sessionObject) |
SaslAuthFailedEvent(SessionObject sessionObject,
SaslModule.SaslError error) |
SaslAuthStartEvent(SessionObject sessionObject,
String mechanismName) |
SaslAuthSuccessEvent(SessionObject sessionObject) |
| Modifier and Type | Method and Description |
|---|---|
String |
XOAuth2Mechanism.evaluateChallenge(String input,
SessionObject sessionObject) |
String |
PlainMechanism.evaluateChallenge(String input,
SessionObject sessionObject) |
String |
AnonymousMechanism.evaluateChallenge(String input,
SessionObject sessionObjec) |
boolean |
XOAuth2Mechanism.isAllowedToUse(SessionObject sessionObject) |
boolean |
PlainMechanism.isAllowedToUse(SessionObject sessionObject) |
boolean |
AnonymousMechanism.isAllowedToUse(SessionObject sessionObject) |
boolean |
AbstractSaslMechanism.isComplete(SessionObject sessionObject) |
protected void |
AbstractSaslMechanism.setComplete(SessionObject sessionObject,
boolean complete) |
| Modifier and Type | Method and Description |
|---|---|
SessionObject |
ConnectionSession.getSessionObject() |
| Constructor and Description |
|---|
ConnectionSession(SessionObject sessionObject,
JID peer,
String sid,
boolean tcp) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
NodeDetailsCallback.getFeatures(SessionObject sessionObject,
IQ requestStanza,
String node) |
String[] |
DiscoveryModule.DefaultNodeDetailsCallback.getFeatures(SessionObject sessionObject,
IQ requestStanza,
String node) |
DiscoveryModule.Identity |
NodeDetailsCallback.getIdentity(SessionObject sessionObject,
IQ requestStanza,
String node) |
DiscoveryModule.Identity |
DiscoveryModule.DefaultNodeDetailsCallback.getIdentity(SessionObject sessionObject,
IQ requestStanza,
String node) |
DiscoveryModule.Item[] |
NodeDetailsCallback.getItems(SessionObject sessionObject,
IQ requestStanza,
String node) |
DiscoveryModule.Item[] |
DiscoveryModule.DefaultNodeDetailsCallback.getItems(SessionObject sessionObject,
IQ requestStanza,
String node) |
void |
DiscoveryModule.AccountFeaturesReceivedHandler.onAccountFeaturesReceived(SessionObject sessionObject,
IQ stanza,
String[] features) |
void |
DiscoveryModule.ServerFeaturesReceivedHandler.onServerFeaturesReceived(SessionObject sessionObject,
IQ stanza,
String[] features) |
| Constructor and Description |
|---|
AccountFeaturesReceivedEvent(SessionObject sessionObject,
IQ responseStanza,
String[] features) |
ServerFeaturesReceivedEvent(SessionObject sessionObject,
IQ responseStanza,
String[] features) |
| Modifier and Type | Method and Description |
|---|---|
static long |
StreamManagementModule.getResumptionTime(SessionObject sessionObject,
long defaultValue) |
static boolean |
StreamManagementModule.isAckEnabled(SessionObject sessionObject) |
static boolean |
StreamManagementModule.isResumptionEnabled(SessionObject sessionObject) |
static boolean |
StreamManagementModule.isStreamManagementAvailable(SessionObject sessionObject) |
static boolean |
StreamManagementModule.isStreamManagementTurnedOn(SessionObject sessionObject) |
void |
StreamManagementModule.StreamManagementEnabledHandler.onStreamManagementEnabled(SessionObject sessionObject,
Boolean resume,
String resumeId) |
void |
StreamManagementModule.StreamManagementFailedHandler.onStreamManagementFailed(SessionObject sessionObject,
XMPPException.ErrorCondition condition) |
void |
StreamManagementModule.StreamResumedHandler.onStreamResumed(SessionObject sessionObject,
Long h,
String previd) |
void |
StreamManagementModule.UnacknowledgedHandler.onUnacknowledged(SessionObject sessionObject,
List<Element> elements) |
static void |
StreamManagementModule.reset(SessionObject sessionObject) |
| Constructor and Description |
|---|
StreamManagementEnabledEvent(SessionObject sessionObject,
Boolean resume,
String id) |
StreamManagementFailedEvent(SessionObject sessionObject,
XMPPException.ErrorCondition condition) |
StreamResumedEvent(SessionObject sessionObject,
Long h,
String previd) |
UnacknowledgedEvent(SessionObject sessionObject,
List<Element> elements) |
| Modifier and Type | Method and Description |
|---|---|
static XmppStreamsManager |
XmppStreamsManager.getStreamsManager(SessionObject sessionObject) |
static void |
XmppStreamsManager.setStreamsManager(SessionObject sessionObject,
XmppStreamsManager streamsManager) |
Copyright © 2006–2021 Tigase. All rights reserved.