Uses of Class
org.jivesoftware.smack.SmackException
-
Packages that use SmackException Package Description org.igniterealtime.smack.examples Examples and tests for Smack.org.jivesoftware.smack Core classes of the Smack API.org.jivesoftware.smack.bosh Smack's API for BOSH (XEP-206, XEP-124).org.jivesoftware.smack.c2s Smack's (new) API for client-to-server (c2s) connections.org.jivesoftware.smack.c2s.internal Smack's internal API for client-to-server (c2s) connections.org.jivesoftware.smack.fsm Smack's Finite State Machine to handle the login logic.org.jivesoftware.smack.sasl.javax A javax SASL implementation for Smack.org.jivesoftware.smack.sm Smack's implementation of XEP-0198: Stream Management.org.jivesoftware.smack.tcp TCP-IP related classes for Smack.org.jivesoftware.smackx.bytestreams Smack's API for XEP-0065: SOCKS5 Bytestreams, as well as XEP-0047: In-Band Bytestreams.org.jivesoftware.smackx.bytestreams.ibb Smack's API for XEP-0047: In-Band Bytestreams.org.jivesoftware.smackx.bytestreams.socks5 Smack's API for XEP-0065: SOCKS5 Bytestreams.org.jivesoftware.smackx.carbons Smack's API for XEP-0280: Message Carbons.org.jivesoftware.smackx.commands Smacks implementation of XEP-0050: Ad-Hoc Commands.org.jivesoftware.smackx.filetransfer Smack's API for File Transfers.org.jivesoftware.smackx.httpfileupload Smack's API for XEP-0363: HTTP File Upload.org.jivesoftware.smackx.iot Smack's API for XMPP IoT (XEP-0323, -0324, -0325, -0347).org.jivesoftware.smackx.iot.discovery Smack's API for XMPP IoT XEP-0347 Discovery.org.jivesoftware.smackx.jingleold TODO describe me.org.jivesoftware.smackx.jingleold.nat TODO describe me.org.jivesoftware.smackx.mam XEP-0313: Message Archive Management.org.jivesoftware.smackx.muc Smack API for Multi-User Chat (MUC, XEP-0045).org.jivesoftware.smackx.pubsub Smack's API for XEP-0060: Publish-Subscribe.org.jivesoftware.smackx.receipts XEP-0184: Message Delivery Receipts.org.jivesoftware.smackx.workgroup.agent TODO describe me.org.jivesoftware.smackx.workgroup.user TODO describe me. -
-
Uses of SmackException in org.igniterealtime.smack.examples
Methods in org.igniterealtime.smack.examples that throw SmackException Modifier and Type Method Description static boolean
XmppTools. createAccount(String xmppDomain, String username, String password)
static boolean
XmppTools. createAccount(DomainBareJid xmppDomain, Localpart username, String password)
static void
Nio. doNio(String username, String password, String service)
static void
BoshConnectionTest. main(String[] args)
static void
DoX. main(String[] args)
static void
Nio. main(String[] args)
static void
OmemoClient. main(String[] args)
static void
WebSocketConnection. main(String[] args)
static void
XmppTools. main(String[] args)
static void
XmppTools. modularConnectionTest(ModularXmppClientToServerConnection connection, String messageTo)
static XmppConnectionTool
XmppConnectionTool. of(String jid, String password, boolean debug)
static XMPPTCPConnection
DoX. runDoxResolver(String jid, String password)
void
OmemoClient. start()
static boolean
XmppTools. supportsIbr(String xmppDomain)
static boolean
XmppTools. supportsIbr(DomainBareJid xmppDomain)
static void
WebSocketConnection. testWebSocketConnection(String jid, String password, String websocketEndpoint)
static void
WebSocketConnection. testWebSocketConnection(String jid, String password, String websocketEndpoint, String messageTo)
-
Uses of SmackException in org.jivesoftware.smack
Fields in org.jivesoftware.smack declared as SmackException Modifier and Type Field Description protected SmackException
AbstractXMPPConnection. currentSmackException
Methods in org.jivesoftware.smack that throw SmackException Modifier and Type Method Description protected Resourcepart
AbstractXMPPConnection. bindResourceAndEstablishSession(Resourcepart resource)
AbstractXMPPConnection
AbstractXMPPConnection. connect()
Establishes a connection to the XMPP server.protected abstract void
AbstractXMPPConnection. connectInternal()
Abstract method that concrete subclasses of XMPPConnection need to implement to perform their way of XMPP connection establishment.void
AbstractXMPPConnection. login()
Logs in to the server using the strongest SASL mechanism supported by the server.void
AbstractXMPPConnection. login(CharSequence username, String password)
Same asAbstractXMPPConnection.login(CharSequence, String, Resourcepart)
, but takes the resource from the connection configuration.void
AbstractXMPPConnection. login(CharSequence username, String password, Resourcepart resource)
Login with the given username (authorization identity).protected abstract void
AbstractXMPPConnection. loginInternal(String username, String password, Resourcepart resource)
protected void
AbstractXMPPConnection. throwCurrentConnectionException()
protected void
AbstractXMPPConnection. waitForConditionOrThrowConnectionException(Supplier<Boolean> condition, String waitFor)
default void
XmppInputOutputFilter. waitUntilInputOutputClosed()
-
Uses of SmackException in org.jivesoftware.smack.bosh
Methods in org.jivesoftware.smack.bosh that throw SmackException Modifier and Type Method Description protected void
XMPPBOSHConnection. connectInternal()
protected void
XMPPBOSHConnection. loginInternal(String username, String password, Resourcepart resource)
-
Uses of SmackException in org.jivesoftware.smack.c2s
Methods in org.jivesoftware.smack.c2s that throw SmackException Modifier and Type Method Description protected void
ModularXmppClientToServerConnection. connectInternal()
protected void
ModularXmppClientToServerConnection. loginInternal(String username, String password, Resourcepart resource)
-
Uses of SmackException in org.jivesoftware.smack.c2s.internal
Methods in org.jivesoftware.smack.c2s.internal that throw SmackException Modifier and Type Method Description abstract void
ModularXmppClientToServerConnectionInternal. newStreamOpenWaitForFeaturesSequence(String waitFor)
abstract void
ModularXmppClientToServerConnectionInternal. waitForConditionOrThrowConnectionException(Supplier<Boolean> condition, String waitFor)
abstract void
ModularXmppClientToServerConnectionInternal. waitForFeaturesReceived(String waitFor)
-
Uses of SmackException in org.jivesoftware.smack.fsm
Subclasses of SmackException in org.jivesoftware.smack.fsm Modifier and Type Class Description class
StateMachineException
static class
StateMachineException.SmackMandatoryStateFailedException
static class
StateMachineException.SmackStateGraphDeadEndException
Methods in org.jivesoftware.smack.fsm that throw SmackException Modifier and Type Method Description StateTransitionResult.TransitionImpossible
State.AbstractTransport. isTransitionToPossible(WalkStateGraphContext walkStateGraphContext)
StateTransitionResult.TransitionImpossible
State. isTransitionToPossible(WalkStateGraphContext walkStateGraphContext)
Check if the state should be activated.abstract StateTransitionResult.AttemptResult
State. transitionInto(WalkStateGraphContext walkStateGraphContext)
-
Uses of SmackException in org.jivesoftware.smack.sasl.javax
Subclasses of SmackException in org.jivesoftware.smack.sasl.javax Modifier and Type Class Description class
SmackJavaxSaslException
-
Uses of SmackException in org.jivesoftware.smack.sm
Subclasses of SmackException in org.jivesoftware.smack.sm Modifier and Type Class Description class
StreamManagementException
static class
StreamManagementException.StreamIdDoesNotMatchException
static class
StreamManagementException.StreamManagementCounterError
static class
StreamManagementException.StreamManagementNotEnabledException
static class
StreamManagementException.UnacknowledgedQueueFullException
-
Uses of SmackException in org.jivesoftware.smack.tcp
Methods in org.jivesoftware.smack.tcp that throw SmackException Modifier and Type Method Description protected void
XMPPTCPConnection. connectInternal()
Establishes a connection to the XMPP server.protected void
XMPPTCPConnection. loginInternal(String username, String password, Resourcepart resource)
-
Uses of SmackException in org.jivesoftware.smackx.bytestreams
Methods in org.jivesoftware.smackx.bytestreams that throw SmackException Modifier and Type Method Description BytestreamSession
BytestreamManager. establishSession(Jid targetJID)
Establishes a bytestream with the given user and returns the session to send/receive data to/from the user.BytestreamSession
BytestreamManager. establishSession(Jid targetJID, String sessionID)
Establishes a bytestream with the given user and returns the session to send/receive data to/from the user. -
Uses of SmackException in org.jivesoftware.smackx.bytestreams.ibb
Methods in org.jivesoftware.smackx.bytestreams.ibb that throw SmackException Modifier and Type Method Description InBandBytestreamSession
InBandBytestreamManager. establishSession(Jid targetJID)
Establishes an In-Band Bytestream with the given user and returns the session to send/receive data to/from the user. -
Uses of SmackException in org.jivesoftware.smackx.bytestreams.socks5
Subclasses of SmackException in org.jivesoftware.smackx.bytestreams.socks5 Modifier and Type Class Description class
Socks5Exception
static class
Socks5Exception.CouldNotConnectToAnyProvidedSocks5Host
static class
Socks5Exception.NoSocks5StreamHostsProvided
Methods in org.jivesoftware.smackx.bytestreams.socks5 that throw SmackException Modifier and Type Method Description Socks5BytestreamSession
Socks5BytestreamManager. establishSession(Jid targetJID)
Establishes a SOCKS5 Bytestream with the given user and returns the Socket to send/receive data to/from the user. -
Uses of SmackException in org.jivesoftware.smackx.carbons
Methods in org.jivesoftware.smackx.carbons that throw SmackException Modifier and Type Method Description void
CarbonManager. disableCarbons()
Helper method to disable carbons.void
CarbonManager. enableCarbons()
Helper method to enable carbons. -
Uses of SmackException in org.jivesoftware.smackx.commands
Methods in org.jivesoftware.smackx.commands that throw SmackException Modifier and Type Method Description DiscoverItems
AdHocCommandManager. discoverCommands(Jid jid)
Discover the commands of an specific JID. -
Uses of SmackException in org.jivesoftware.smackx.filetransfer
Subclasses of SmackException in org.jivesoftware.smackx.filetransfer Modifier and Type Class Description class
FileTransferException
static class
FileTransferException.NoAcceptableTransferMechanisms
static class
FileTransferException.NoStreamMethodsOfferedException
Methods in org.jivesoftware.smackx.filetransfer that throw SmackException Modifier and Type Method Description InputStream
Socks5TransferNegotiator. createIncomingStream(StreamInitiation initiation)
abstract InputStream
StreamNegotiator. createIncomingStream(StreamInitiation initiation)
This method handles the file stream download negotiation process.OutputStream
Socks5TransferNegotiator. createOutgoingStream(String streamID, Jid initiator, Jid target)
abstract OutputStream
StreamNegotiator. createOutgoingStream(String streamID, Jid initiator, Jid target)
This method handles the file upload stream negotiation process.InputStream
IncomingFileTransfer. receiveFile()
Negotiates the stream method to transfer the file over and then returns the negotiated stream.void
IncomingFileTransfer. receiveFile(File file)
This method negotiates the stream and then transfer's the file over the negotiated stream.void
OutgoingFileTransfer. sendFile(File file, String description)
This method handles the stream negotiation process and transmits the file to the remote user.OutputStream
OutgoingFileTransfer. sendFile(String fileName, long fileSize, String description)
This method handles the negotiation of the file transfer and the stream, it only returns the created stream after the negotiation has been completed. -
Uses of SmackException in org.jivesoftware.smackx.httpfileupload
Methods in org.jivesoftware.smackx.httpfileupload that throw SmackException Modifier and Type Method Description Slot
HttpFileUploadManager. requestSlot(String filename, long fileSize)
Request a new upload slot from default upload service (if discovered).Slot
HttpFileUploadManager. requestSlot(String filename, long fileSize, String contentType)
Request a new upload slot with optional content type from default upload service (if discovered).Slot
HttpFileUploadManager. requestSlot(String filename, long fileSize, String contentType, DomainBareJid uploadServiceAddress)
Request a new upload slot with optional content type from custom upload service.URL
HttpFileUploadManager. uploadFile(File file)
Request slot and uploaded file to HTTP file upload service.URL
HttpFileUploadManager. uploadFile(File file, UploadProgressListener listener)
Request slot and uploaded file to HTTP file upload service with progress callback.URL
HttpFileUploadManager. uploadFile(InputStream inputStream, String fileName, long fileSize)
Request slot and uploaded stream to HTTP upload service.URL
HttpFileUploadManager. uploadFile(InputStream inputStream, String fileName, long fileSize, UploadProgressListener listener)
Request slot and uploaded stream to HTTP upload service. -
Uses of SmackException in org.jivesoftware.smackx.iot
Subclasses of SmackException in org.jivesoftware.smackx.iot Modifier and Type Class Description class
IoTException
-
Uses of SmackException in org.jivesoftware.smackx.iot.discovery
Subclasses of SmackException in org.jivesoftware.smackx.iot.discovery Modifier and Type Class Description class
IoTClaimedException
-
Uses of SmackException in org.jivesoftware.smackx.jingleold
Methods in org.jivesoftware.smackx.jingleold that throw SmackException Modifier and Type Method Description JingleSession
JingleSessionRequest. accept()
Accepts this request and creates the incoming Jingle session.List<IQ>
ContentNegotiator. dispatchIncomingPacket(IQ iq, String id)
abstract List<IQ>
JingleNegotiator. dispatchIncomingPacket(IQ iq, String id)
Dispatch an incoming packet.List<IQ>
JingleSession. dispatchIncomingPacket(IQ iq, String id)
Dispatch an incoming packet.static boolean
JingleManager. isServiceEnabled(XMPPConnection connection, Jid userID)
Returns true if the specified user handles Jingle messages.abstract IQ
JingleSessionState. processJingle(JingleSession session, Jingle jingle, JingleActionEnum action)
Process an incoming Jingle Packet.IQ
JingleSessionStateUnknown. processJingle(JingleSession session, Jingle jingle, JingleActionEnum action)
void
JingleSession. receivePacketAndRespond(IQ iq)
Process and respond to an incoming packet.void
JingleSession. startOutgoing()
This is the starting point for intitiating a new session.Constructors in org.jivesoftware.smackx.jingleold that throw SmackException Constructor Description JingleManager(XMPPConnection connection, List<JingleMediaManager> jingleMediaManagers)
Default constructor with a defined XMPPConnection, Transport Resolver and a Media Manager. -
Uses of SmackException in org.jivesoftware.smackx.jingleold.nat
Methods in org.jivesoftware.smackx.jingleold.nat that throw SmackException Modifier and Type Method Description protected TransportResolver
ICETransportManager. createResolver(JingleSession session)
protected abstract TransportResolver
JingleTransportManager. createResolver(JingleSession session)
Create a Transport Resolver instance according to the implementation.List<IQ>
TransportNegotiator. dispatchIncomingPacket(IQ iq, String id)
Dispatch an incoming packet.TransportResolver
JingleTransportManager. getResolver(JingleSession session)
Get a new Transport Resolver to be used in a Jingle Session.abstract void
TransportResolver. initialize()
Initialize the Resolver.void
TransportResolver. initializeAndWait()
Initialize Transport Resolver and wait until it is completely uninitialized.void
ICEResolver. resolve(JingleSession session)
Resolve the IP and obtain a valid transport method.abstract void
TransportResolver. resolve(JingleSession session)
Start a the resolution.static boolean
STUN. serviceAvailable(XMPPConnection connection)
Check if the server support STUN Service. -
Uses of SmackException in org.jivesoftware.smackx.mam
Methods in org.jivesoftware.smackx.mam that throw SmackException Modifier and Type Method Description AdHocCommand
MamManager. getAdvancedConfigurationCommand()
boolean
MamManager. isAdvancedConfigurationSupported()
-
Uses of SmackException in org.jivesoftware.smackx.muc
Subclasses of SmackException in org.jivesoftware.smackx.muc Modifier and Type Class Description class
MultiUserChatException
static class
MultiUserChatException.MissingMucCreationAcknowledgeException
static class
MultiUserChatException.MucAlreadyJoinedException
static class
MultiUserChatException.MucConfigurationNotSupportedException
Thrown if the MUC room does not support the requested configuration option.static class
MultiUserChatException.MucNotJoinedException
Thrown if the requested operation required the MUC to be joined by the client, while the client is currently joined.static class
MultiUserChatException.NotAMucServiceException
Thrown when trying to enter a MUC room that is not hosted a domain providing a MUC service.Methods in org.jivesoftware.smackx.muc that throw SmackException Modifier and Type Method Description String
MultiUserChat. getReservedNickname()
Returns the reserved room nickname for the user in the room. -
Uses of SmackException in org.jivesoftware.smackx.pubsub
Subclasses of SmackException in org.jivesoftware.smackx.pubsub Modifier and Type Class Description class
PubSubException
static class
PubSubException.NotALeafNodeException
static class
PubSubException.NotAPubSubNodeException
-
Uses of SmackException in org.jivesoftware.smackx.receipts
Methods in org.jivesoftware.smackx.receipts that throw SmackException Modifier and Type Method Description boolean
DeliveryReceiptManager. isSupported(Jid jid)
Returns true if Delivery Receipts are supported by a given JID. -
Uses of SmackException in org.jivesoftware.smackx.workgroup.agent
Methods in org.jivesoftware.smackx.workgroup.agent that throw SmackException Modifier and Type Method Description Transcript
AgentSession. getTranscript(String sessionID)
Returns the full conversation transcript of a given session.Transcripts
AgentSession. getTranscripts(Jid userID)
Returns the transcripts of a given user.Form
AgentSession. getTranscriptSearchForm()
Returns the Form to use for searching transcripts.void
AgentSession. removeMetaData(String key)
Allows the removal of data from the agent's meta data, if the key represents existing data, the revised meta data will be rebroadcast in an agent's presence broadcast.ReportedData
AgentSession. searchTranscripts(FillableForm completedForm)
Submits the completed form and returns the result of the transcript search.void
AgentSession. setMetaData(String key, String val)
Allows the addition of a new key-value pair to the agent's meta data, if the value is new data, the revised meta data will be rebroadcast in an agent's presence broadcast.void
AgentSession. setOnline(boolean online)
Sets whether the agent is online with the workgroup.void
AgentSession. setStatus(Presence.Mode presenceMode, int maxChats)
Sets the agent's current status with the workgroup. -
Uses of SmackException in org.jivesoftware.smackx.workgroup.user
Methods in org.jivesoftware.smackx.workgroup.user that throw SmackException Modifier and Type Method Description ChatSetting
Workgroup. getChatSetting(String key)
Returns a single chat setting based on it's identified key.ChatSettings
Workgroup. getChatSettings()
Returns all ChatSettings.ChatSettings
Workgroup. getChatSettings(int type)
Returns ChatSettings based on type.boolean
Workgroup. isEmailAvailable()
The workgroup service may be configured to send email.void
Workgroup. joinQueue()
Joins the workgroup queue to wait to be routed to an agent.void
Workgroup. joinQueue(Map<String,Object> metadata, Jid userID)
Joins the workgroup queue to wait to be routed to an agent.void
Workgroup. joinQueue(FillableForm answerForm)
Joins the workgroup queue to wait to be routed to an agent.
-