public class XmppNioTcpConnection
extends org.jivesoftware.smack.AbstractXmppNioConnection
The graph below shows the current graph of states of this XMPP connection. Only some states are final states, most states are intermediate states in order to reach a final state.

| Modifier and Type | Class and Description |
|---|---|
static class |
XmppNioTcpConnection.ConnectedToHostEvent |
static class |
XmppNioTcpConnection.ConnectingToHostEvent |
static class |
XmppNioTcpConnection.ConnectionToHostFailedEvent |
protected static class |
XmppNioTcpConnection.EnableStreamManagementStateDescriptor |
static class |
XmppNioTcpConnection.HostLookupResult |
static class |
XmppNioTcpConnection.Stats |
static class |
XmppNioTcpConnection.TcpSocketConnectedResult |
static class |
XmppNioTcpConnection.TlsEstablishedResult |
static class |
XmppNioTcpConnection.TlsStateStats |
org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.AuthenticatedAndResourceBoundStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.AuthenticatedButUnboundStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.CompressionStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.CompressionTransitionSuccessResult, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.ConnectedButUnauthenticatedStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.DisconnectedStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.NoOpState, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.ResourceBindingStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.ResourceBoundResult, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.SaslAuthenticationStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.SaslAuthenticationSuccessResult, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.State, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.TransitionFailureResult, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.TransitionImpossibleBecauseNotImplemented, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.TransitionImpossibleReason, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.TransitionIntoResult, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.TransitionSuccessResult, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.WalkStateGraphContext, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.WalkStateGraphContextBuilderstreamResumedASYNC_BUT_ORDERED, authenticated, authenticatedConnectionInitiallyEstablishedTimestamp, closingStreamReceived, compressionHandler, config, connected, connectionCounterValue, connectionListeners, connectionLock, currentConnectionException, debugger, host, hostAddresses, inOrderListeners, lastFeaturesReceived, port, reader, saslAuthentication, saslFeatureReceived, SMACK_REACTOR, streamFeatures, streamId, tlsHandled, user, wasAuthenticated, writer| Constructor and Description |
|---|
XmppNioTcpConnection(XMPPTCPConnectionConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
connectInternal() |
static java.util.Set<java.lang.Class<? extends org.jivesoftware.smack.fsm.StateDescriptor>> |
getBackwardEdgesStateDescriptors() |
protected javax.net.ssl.SSLSession |
getSSLSession() |
XmppNioTcpConnection.Stats |
getStats() |
void |
instantShutdown() |
boolean |
isSecureConnection() |
boolean |
isSmResumptionPossible() |
void |
sendNonza(org.jivesoftware.smack.packet.Nonza nonza) |
protected void |
sendStanzaInternal(org.jivesoftware.smack.packet.Stanza stanza) |
protected void |
shutdown() |
protected void |
throwNotConnectedExceptionIfAppropriate() |
registerWithSelector, setInterestOpsaddConnectionStateMachineListener, addXmppInputOutputFilter, afterFeaturesReceived, buildNewWalkTo, getFilterStats, getXmppInputOutputFilterBeginIterator, getXmppInputOutputFilterEndIterator, invokeConnectionStateMachineListener, isUsingCompression, loginInternal, newStreamOpenWaitForFeaturesSequence, parseAndProcessElement, prepareToWaitForFeaturesReceived, removeConnectionStateMachineListener, waitForFeaturesReceived, walkStateGraphaddAsyncStanzaListener, addConnectionListener, addOneTimeSyncCallback, addStanzaInterceptor, addStanzaListener, addStanzaSendingListener, addStreamFeature, addSyncStanzaListener, afterSuccessfulLogin, asyncGo, asyncGoLimited, bindResourceAndEstablishSession, buildNonzaCallback, callConnectionAuthenticatedListener, callConnectionConnectedListener, connect, createStanzaCollector, createStanzaCollector, createStanzaCollectorAndSend, createStanzaCollectorAndSend, disconnect, disconnect, firePacketSendingListeners, getAuthenticatedConnectionInitiallyEstablishedTimestamp, getConfiguration, getConnectionCounter, getConnectionLock, getFeature, getFromMode, getHost, getLastStanzaReceived, getParsingExceptionCallback, getPort, getReplyTimeout, getSASLAuthentication, getSmackTlsContext, getStreamId, getUsedSaslMechansism, getUser, getXMPPServiceDomain, hasFeature, initDebugger, initState, invokeStanzaCollectorsAndNotifyRecvListeners, isAnonymous, isAuthenticated, isConnected, login, login, login, notifyConnectionError, onStreamOpen, parseAndProcessNonza, parseAndProcessStanza, parseFeatures, parseFeaturesAndNotify, populateHostAddresses, processStanza, registerIQRequestHandler, removeAsyncStanzaListener, removeConnectionListener, removeStanzaCollector, removeStanzaInterceptor, removeStanzaListener, removeStanzaSendingListener, removeSyncStanzaListener, schedule, sendAndWaitForResponse, sendAsync, sendAsync, sendIqRequestAndWaitForResponse, sendIqRequestAsync, sendIqRequestAsync, sendStanza, sendStreamOpen, setFromMode, setMaxAsyncOperations, setParsingExceptionCallback, setReplyTimeout, setUnknownIqRequestReplyMode, setWasAuthenticated, throwAlreadyConnectedExceptionIfAppropriate, throwAlreadyLoggedInExceptionIfAppropriate, throwNotConnectedExceptionIfAppropriate, toString, trySendStanza, trySendStanza, unregisterIQRequestHandler, unregisterIQRequestHandler, waitForClosingStreamTagFromServerpublic XmppNioTcpConnection(XMPPTCPConnectionConfiguration configuration)
protected void connectInternal()
throws org.jivesoftware.smack.SmackException,
java.io.IOException,
org.jivesoftware.smack.XMPPException,
java.lang.InterruptedException
connectInternal in class org.jivesoftware.smack.AbstractXMPPConnectionorg.jivesoftware.smack.SmackExceptionjava.io.IOExceptionorg.jivesoftware.smack.XMPPExceptionjava.lang.InterruptedExceptionpublic boolean isSecureConnection()
isSecureConnection in interface org.jivesoftware.smack.XMPPConnectionisSecureConnection in class org.jivesoftware.smack.AbstractXMPPConnectionprotected void throwNotConnectedExceptionIfAppropriate()
throws org.jivesoftware.smack.SmackException.NotConnectedException
throwNotConnectedExceptionIfAppropriate in class org.jivesoftware.smack.AbstractXMPPConnectionorg.jivesoftware.smack.SmackException.NotConnectedExceptionprotected void sendStanzaInternal(org.jivesoftware.smack.packet.Stanza stanza)
throws org.jivesoftware.smack.SmackException.NotConnectedException,
java.lang.InterruptedException
sendStanzaInternal in class org.jivesoftware.smack.AbstractXMPPConnectionorg.jivesoftware.smack.SmackException.NotConnectedExceptionjava.lang.InterruptedExceptionpublic void sendNonza(org.jivesoftware.smack.packet.Nonza nonza)
throws org.jivesoftware.smack.SmackException.NotConnectedException,
java.lang.InterruptedException
sendNonza in interface org.jivesoftware.smack.XMPPConnectionsendNonza in class org.jivesoftware.smack.AbstractXMPPConnectionorg.jivesoftware.smack.SmackException.NotConnectedExceptionjava.lang.InterruptedExceptionprotected void shutdown()
shutdown in class org.jivesoftware.smack.AbstractXMPPConnectionpublic void instantShutdown()
instantShutdown in class org.jivesoftware.smack.AbstractXMPPConnectionpublic boolean isSmResumptionPossible()
public XmppNioTcpConnection.Stats getStats()
protected javax.net.ssl.SSLSession getSSLSession()
getSSLSession in class org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnectionpublic static java.util.Set<java.lang.Class<? extends org.jivesoftware.smack.fsm.StateDescriptor>> getBackwardEdgesStateDescriptors()