Modifier and Type | Class and Description |
---|---|
class |
AuthenticationException
An exception thrown during the login process, if SASL negotiation with the XMPP server fails.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectionException
Indicates a failure while connecting to the server.
|
class |
NoResponseException
This exception is thrown, when no response has been received from an XMPP entity.
|
Modifier and Type | Method and Description |
---|---|
void |
XmppSession.close()
Explicitly closes the session and performs a clean up of all listeners.
|
void |
XmppSession.connect()
Connects to the XMPP server.
|
abstract void |
XmppSession.connect(Jid from) |
void |
XmppClient.connect(Jid from)
Connects to the XMPP server.
|
boolean |
XmppSession.handleElement(java.lang.Object element)
Handles an XMPP element.
|
byte[] |
XmppClient.login(java.lang.String authorizationId,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.lang.String resource)
Authenticates against the server with a custom callback handler and binds a resource.
|
byte[] |
XmppClient.login(java.lang.String user,
java.lang.String password)
Authenticates against the server and binds a random resource (assigned by the server).
|
byte[] |
XmppClient.login(java.lang.String user,
java.lang.String password,
java.lang.String resource)
Authenticates against the server with username/password credential and binds a resource.
|
byte[] |
XmppClient.login(java.lang.String authorizationId,
java.lang.String user,
java.lang.String password,
java.lang.String resource)
Authenticates against the server with an authorization id and username/password credential and binds a resource.
|
byte[] |
XmppClient.loginAnonymously()
Logs in anonymously and binds a resource.
|
Modifier and Type | Class and Description |
---|---|
class |
StanzaException
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
StanzaErrorException
A stanza exception represents a stanza error.
|
Modifier and Type | Class and Description |
---|---|
class |
StreamErrorException
Deprecated.
|
class |
StreamNegotiationException
An exception which indicates a failure during stream negotiation, e.g. if TLS or SASL negotiation or compression or resource binding fails.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StreamHandler.handleElement(java.lang.Object streamElement)
Handles an inbound stream element.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Void> |
AvatarManager.publishAvatarImage(java.awt.image.BufferedImage bufferedImage)
Publishes an avatar to your VCard.
|
Modifier and Type | Method and Description |
---|---|
void |
ExternalComponent.connect(Jid from) |
boolean |
ExternalComponent.handleElement(java.lang.Object element) |
Modifier and Type | Class and Description |
---|---|
class |
FileTransferRejectedException
This is generic exception when a file transfer request has been rejected.
|
Modifier and Type | Class and Description |
---|---|
class |
BoshException
A BOSH exception is thrown when the BOSH connection manager returned an error condition or the HTTP request responded with an HTTP error code.
|
Modifier and Type | Method and Description |
---|---|
JingleFileTransferSession |
JingleFileTransferManager.initiateFileTransferSession(Jid responder,
java.nio.file.Path file,
java.lang.String description,
long timeout) |
Modifier and Type | Method and Description |
---|---|
T |
AsyncResult.getResult()
Waits uninterruptibly on the result of the query and returns it.
|
T |
AsyncResult.getResult(long timeout,
java.util.concurrent.TimeUnit unit)
Waits uninterruptibly on the result of the query (with a timeout) and returns it.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.