public class XmppNioTcpConnection
extends org.jivesoftware.smack.AbstractXmppNioConnection
Another one.org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.AuthenticatedAndResourceBoundStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.AuthenticatedButUnboundStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.CompressionStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.ConnectedButUnauthenticatedStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.DisconnectedState, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.DisconnectedStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.NoOpState, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.ResourceBindingStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.SaslAuthenticationStateDescriptor, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.State, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.TransitionFailedReason, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.TransitionImpossibleReason, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.WalkStateGraphContext, org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection.WalkStateGraphContextBuilderstreamResumedauthenticated, closingStreamReceived, compressionHandler, config, connected, connectionCounterValue, connectionListeners, connectionLock, debugger, host, hostAddresses, 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 |
isUsingCompression() |
void |
sendNonza(org.jivesoftware.smack.packet.Nonza nonza) |
protected void |
sendStanzaInternal(org.jivesoftware.smack.packet.Stanza stanza) |
protected void |
shutdown() |
protected void |
throwNotConnectedExceptionIfAppropriate() |
finalize, registerWithSelector, setInterestOpsaddXmppInputOutputFilter, afterFeaturesReceived, buildNewWalkTo, getXmppInputOutputFilterBeginIterator, getXmppInputOutputFilterEndIterator, loginInternal, newStreamOpenWaitForFeaturesSequence, parseAndProcessElement, prepareToWaitForFeaturesReceived, waitForFeaturesReceived, walkStateGraphaddAsyncStanzaListener, addConnectionListener, addOneTimeSyncCallback, addStanzaInterceptor, addStanzaSendingListener, addStreamFeature, addSyncStanzaListener, afterSuccessfulLogin, asyncGo, bindResourceAndEstablishSession, buildNonzaCallback, callConnectionAuthenticatedListener, callConnectionClosedOnErrorListener, callConnectionConnectedListener, connect, createStanzaCollector, createStanzaCollector, createStanzaCollectorAndSend, createStanzaCollectorAndSend, disconnect, disconnect, firePacketSendingListeners, getConfiguration, getConnectionCounter, getConnectionLock, getFeature, getFromMode, getHost, getLastStanzaReceived, getParsingExceptionCallback, getPort, getReplyTimeout, getSASLAuthentication, getSmackTlsContext, getStreamId, getUsedSaslMechansism, getUser, getXMPPServiceDomain, hasFeature, initDebugger, invokeStanzaCollectorsAndNotifyRecvListeners, isAnonymous, isAuthenticated, isConnected, login, login, login, onStreamOpen, parseAndProcessNonza, parseAndProcessStanza, parseFeatures, parseFeaturesAndNotify, populateHostAddresses, processStanza, registerIQRequestHandler, removeAsyncStanzaListener, removeConnectionListener, removeStanzaCollector, removeStanzaInterceptor, removeStanzaSendingListener, removeSyncStanzaListener, schedule, sendAndWaitForResponse, sendAsync, sendAsync, sendIqRequestAndWaitForResponse, sendIqRequestAsync, sendIqRequestAsync, sendStanza, sendStreamOpen, setFromMode, setParsingExceptionCallback, setReplyTimeout, setUnknownIqRequestReplyMode, setWasAuthenticated, throwAlreadyConnectedExceptionIfAppropriate, throwAlreadyLoggedInExceptionIfAppropriate, throwNotConnectedExceptionIfAppropriate, toString, trySendStanza, trySendStanza, unregisterIQRequestHandler, unregisterIQRequestHandlerpublic XmppNioTcpConnection(XMPPTCPConnectionConfiguration configuration)
public static java.util.Set<java.lang.Class<? extends org.jivesoftware.smack.fsm.StateDescriptor>> getBackwardEdgesStateDescriptors()
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()
throwNotConnectedExceptionIfAppropriate in class org.jivesoftware.smack.AbstractXMPPConnectionprotected 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.InterruptedExceptionpublic boolean isUsingCompression()
isUsingCompression in interface org.jivesoftware.smack.XMPPConnectionisUsingCompression in class org.jivesoftware.smack.AbstractXMPPConnectionprotected void shutdown()
shutdown in class org.jivesoftware.smack.AbstractXMPPConnectionpublic void instantShutdown()
public XmppNioTcpConnection.Stats getStats()
protected javax.net.ssl.SSLSession getSSLSession()
getSSLSession in class org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection