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 booleanXmppTools. createAccount(String xmppDomain, String username, String password)static booleanXmppTools. createAccount(DomainBareJid xmppDomain, Localpart username, String password)static voidNio. doNio(String username, String password, String service)static voidBoshConnectionTest. main(String[] args)static voidDoX. main(String[] args)static voidNio. main(String[] args)static voidOmemoClient. main(String[] args)static voidWebSocketConnection. main(String[] args)static voidXmppTools. main(String[] args)static voidXmppTools. modularConnectionTest(ModularXmppClientToServerConnection connection, String messageTo)static XMPPTCPConnectionDoX. runDoxResolver(String jid, String password)voidOmemoClient. start()static booleanXmppTools. supportsIbr(String xmppDomain)static booleanXmppTools. supportsIbr(DomainBareJid xmppDomain)static voidWebSocketConnection. testWebSocketConnection(String jid, String password, String websocketEndpoint)static voidWebSocketConnection. 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 SmackExceptionAbstractXMPPConnection. currentSmackExceptionMethods in org.jivesoftware.smack that throw SmackException Modifier and Type Method Description protected ResourcepartAbstractXMPPConnection. bindResourceAndEstablishSession(Resourcepart resource)AbstractXMPPConnectionAbstractXMPPConnection. connect()Establishes a connection to the XMPP server.protected abstract voidAbstractXMPPConnection. connectInternal()Abstract method that concrete subclasses of XMPPConnection need to implement to perform their way of XMPP connection establishment.voidAbstractXMPPConnection. login()Logs in to the server using the strongest SASL mechanism supported by the server.voidAbstractXMPPConnection. login(CharSequence username, String password)Same asAbstractXMPPConnection.login(CharSequence, String, Resourcepart), but takes the resource from the connection configuration.voidAbstractXMPPConnection. login(CharSequence username, String password, Resourcepart resource)Login with the given username (authorization identity).protected abstract voidAbstractXMPPConnection. loginInternal(String username, String password, Resourcepart resource)protected voidAbstractXMPPConnection. throwCurrentConnectionException()protected voidAbstractXMPPConnection. waitForConditionOrThrowConnectionException(Supplier<Boolean> condition, String waitFor)default voidXmppInputOutputFilter. waitUntilInputOutputClosed() -
Uses of SmackException in org.jivesoftware.smack.bosh
Methods in org.jivesoftware.smack.bosh that throw SmackException Modifier and Type Method Description protected voidXMPPBOSHConnection. connectInternal()protected voidXMPPBOSHConnection. 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 voidModularXmppClientToServerConnection. connectInternal()protected voidModularXmppClientToServerConnection. 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 voidModularXmppClientToServerConnectionInternal. newStreamOpenWaitForFeaturesSequence(String waitFor)abstract voidModularXmppClientToServerConnectionInternal. waitForConditionOrThrowConnectionException(Supplier<Boolean> condition, String waitFor)abstract voidModularXmppClientToServerConnectionInternal. waitForFeaturesReceived(String waitFor) -
Uses of SmackException in org.jivesoftware.smack.fsm
Subclasses of SmackException in org.jivesoftware.smack.fsm Modifier and Type Class Description classStateMachineExceptionstatic classStateMachineException.SmackMandatoryStateFailedExceptionstatic classStateMachineException.SmackStateGraphDeadEndExceptionMethods in org.jivesoftware.smack.fsm that throw SmackException Modifier and Type Method Description StateTransitionResult.TransitionImpossibleState.AbstractTransport. isTransitionToPossible(WalkStateGraphContext walkStateGraphContext)StateTransitionResult.TransitionImpossibleState. isTransitionToPossible(WalkStateGraphContext walkStateGraphContext)Check if the state should be activated.abstract StateTransitionResult.AttemptResultState. 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 classSmackJavaxSaslException -
Uses of SmackException in org.jivesoftware.smack.sm
Subclasses of SmackException in org.jivesoftware.smack.sm Modifier and Type Class Description classStreamManagementExceptionstatic classStreamManagementException.StreamIdDoesNotMatchExceptionstatic classStreamManagementException.StreamManagementCounterErrorstatic classStreamManagementException.StreamManagementNotEnabledExceptionstatic classStreamManagementException.UnacknowledgedQueueFullException -
Uses of SmackException in org.jivesoftware.smack.tcp
Methods in org.jivesoftware.smack.tcp that throw SmackException Modifier and Type Method Description protected voidXMPPTCPConnection. connectInternal()Establishes a connection to the XMPP server.protected voidXMPPTCPConnection. 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 BytestreamSessionBytestreamManager. establishSession(Jid targetJID)Establishes a bytestream with the given user and returns the session to send/receive data to/from the user.BytestreamSessionBytestreamManager. 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 InBandBytestreamSessionInBandBytestreamManager. 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 classSocks5Exceptionstatic classSocks5Exception.CouldNotConnectToAnyProvidedSocks5Hoststatic classSocks5Exception.NoSocks5StreamHostsProvidedMethods in org.jivesoftware.smackx.bytestreams.socks5 that throw SmackException Modifier and Type Method Description Socks5BytestreamSessionSocks5BytestreamManager. 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 voidCarbonManager. disableCarbons()Helper method to disable carbons.voidCarbonManager. 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 DiscoverItemsAdHocCommandManager. 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 classFileTransferExceptionstatic classFileTransferException.NoAcceptableTransferMechanismsstatic classFileTransferException.NoStreamMethodsOfferedExceptionMethods in org.jivesoftware.smackx.filetransfer that throw SmackException Modifier and Type Method Description InputStreamSocks5TransferNegotiator. createIncomingStream(StreamInitiation initiation)abstract InputStreamStreamNegotiator. createIncomingStream(StreamInitiation initiation)This method handles the file stream download negotiation process.OutputStreamSocks5TransferNegotiator. createOutgoingStream(String streamID, Jid initiator, Jid target)abstract OutputStreamStreamNegotiator. createOutgoingStream(String streamID, Jid initiator, Jid target)This method handles the file upload stream negotiation process.InputStreamIncomingFileTransfer. receiveFile()Negotiates the stream method to transfer the file over and then returns the negotiated stream.voidIncomingFileTransfer. receiveFile(File file)This method negotiates the stream and then transfer's the file over the negotiated stream.voidOutgoingFileTransfer. sendFile(File file, String description)This method handles the stream negotiation process and transmits the file to the remote user.OutputStreamOutgoingFileTransfer. 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 SlotHttpFileUploadManager. requestSlot(String filename, long fileSize)Request a new upload slot from default upload service (if discovered).SlotHttpFileUploadManager. requestSlot(String filename, long fileSize, String contentType)Request a new upload slot with optional content type from default upload service (if discovered).SlotHttpFileUploadManager. requestSlot(String filename, long fileSize, String contentType, DomainBareJid uploadServiceAddress)Request a new upload slot with optional content type from custom upload service.URLHttpFileUploadManager. uploadFile(File file)Request slot and uploaded file to HTTP file upload service.URLHttpFileUploadManager. uploadFile(File file, UploadProgressListener listener)Request slot and uploaded file to HTTP file upload service with progress callback.URLHttpFileUploadManager. uploadFile(InputStream inputStream, String fileName, long fileSize)Request slot and uploaded stream to HTTP upload service.URLHttpFileUploadManager. 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 classIoTException -
Uses of SmackException in org.jivesoftware.smackx.iot.discovery
Subclasses of SmackException in org.jivesoftware.smackx.iot.discovery Modifier and Type Class Description classIoTClaimedException -
Uses of SmackException in org.jivesoftware.smackx.jingleold
Methods in org.jivesoftware.smackx.jingleold that throw SmackException Modifier and Type Method Description JingleSessionJingleSessionRequest. 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 booleanJingleManager. isServiceEnabled(XMPPConnection connection, Jid userID)Returns true if the specified user handles Jingle messages.abstract IQJingleSessionState. processJingle(JingleSession session, Jingle jingle, JingleActionEnum action)Process an incoming Jingle Packet.IQJingleSessionStateUnknown. processJingle(JingleSession session, Jingle jingle, JingleActionEnum action)voidJingleSession. receivePacketAndRespond(IQ iq)Process and respond to an incoming packet.voidJingleSession. 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 TransportResolverICETransportManager. createResolver(JingleSession session)protected abstract TransportResolverJingleTransportManager. createResolver(JingleSession session)Create a Transport Resolver instance according to the implementation.List<IQ>TransportNegotiator. dispatchIncomingPacket(IQ iq, String id)Dispatch an incoming packet.TransportResolverJingleTransportManager. getResolver(JingleSession session)Get a new Transport Resolver to be used in a Jingle Session.abstract voidTransportResolver. initialize()Initialize the Resolver.voidTransportResolver. initializeAndWait()Initialize Transport Resolver and wait until it is completely uninitialized.voidICEResolver. resolve(JingleSession session)Resolve the IP and obtain a valid transport method.abstract voidTransportResolver. resolve(JingleSession session)Start a the resolution.static booleanSTUN. 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 AdHocCommandMamManager. getAdvancedConfigurationCommand()booleanMamManager. isAdvancedConfigurationSupported() -
Uses of SmackException in org.jivesoftware.smackx.muc
Subclasses of SmackException in org.jivesoftware.smackx.muc Modifier and Type Class Description classMultiUserChatExceptionstatic classMultiUserChatException.MissingMucCreationAcknowledgeExceptionstatic classMultiUserChatException.MucAlreadyJoinedExceptionstatic classMultiUserChatException.MucConfigurationNotSupportedExceptionThrown if the MUC room does not support the requested configuration option.static classMultiUserChatException.MucNotJoinedExceptionThrown if the requested operation required the MUC to be joined by the client, while the client is currently joined.static classMultiUserChatException.NotAMucServiceExceptionThrown 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 StringMultiUserChat. 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 classPubSubExceptionstatic classPubSubException.NotALeafNodeExceptionstatic classPubSubException.NotAPubSubNodeException -
Uses of SmackException in org.jivesoftware.smackx.receipts
Methods in org.jivesoftware.smackx.receipts that throw SmackException Modifier and Type Method Description booleanDeliveryReceiptManager. 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 TranscriptAgentSession. getTranscript(String sessionID)Returns the full conversation transcript of a given session.TranscriptsAgentSession. getTranscripts(Jid userID)Returns the transcripts of a given user.FormAgentSession. getTranscriptSearchForm()Returns the Form to use for searching transcripts.voidAgentSession. 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.ReportedDataAgentSession. searchTranscripts(FillableForm completedForm)Submits the completed form and returns the result of the transcript search.voidAgentSession. 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.voidAgentSession. setOnline(boolean online)Sets whether the agent is online with the workgroup.voidAgentSession. 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 ChatSettingWorkgroup. getChatSetting(String key)Returns a single chat setting based on it's identified key.ChatSettingsWorkgroup. getChatSettings()Returns all ChatSettings.ChatSettingsWorkgroup. getChatSettings(int type)Returns ChatSettings based on type.booleanWorkgroup. isEmailAvailable()The workgroup service may be configured to send email.voidWorkgroup. joinQueue()Joins the workgroup queue to wait to be routed to an agent.voidWorkgroup. joinQueue(Map<String,Object> metadata, Jid userID)Joins the workgroup queue to wait to be routed to an agent.voidWorkgroup. joinQueue(FillableForm answerForm)Joins the workgroup queue to wait to be routed to an agent.
-