public class XmppNioTcpConnection
extends org.jivesoftware.smack.AbstractXmppNioConnection
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.WalkStateGraphContextBuilder
streamResumed
authenticated, 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, setInterestOps
addXmppInputOutputFilter, afterFeaturesReceived, buildNewWalkTo, getXmppInputOutputFilterBeginIterator, getXmppInputOutputFilterEndIterator, loginInternal, newStreamOpenWaitForFeaturesSequence, parseAndProcessElement, prepareToWaitForFeaturesReceived, waitForFeaturesReceived, walkStateGraph
addAsyncStanzaListener, 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, unregisterIQRequestHandler
public 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.AbstractXMPPConnection
org.jivesoftware.smack.SmackException
java.io.IOException
org.jivesoftware.smack.XMPPException
java.lang.InterruptedException
public boolean isSecureConnection()
isSecureConnection
in interface org.jivesoftware.smack.XMPPConnection
isSecureConnection
in class org.jivesoftware.smack.AbstractXMPPConnection
protected void throwNotConnectedExceptionIfAppropriate()
throwNotConnectedExceptionIfAppropriate
in class org.jivesoftware.smack.AbstractXMPPConnection
protected void sendStanzaInternal(org.jivesoftware.smack.packet.Stanza stanza) throws org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
sendStanzaInternal
in class org.jivesoftware.smack.AbstractXMPPConnection
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException
public void sendNonza(org.jivesoftware.smack.packet.Nonza nonza) throws org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
sendNonza
in interface org.jivesoftware.smack.XMPPConnection
sendNonza
in class org.jivesoftware.smack.AbstractXMPPConnection
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException
public boolean isUsingCompression()
isUsingCompression
in interface org.jivesoftware.smack.XMPPConnection
isUsingCompression
in class org.jivesoftware.smack.AbstractXMPPConnection
protected void shutdown()
shutdown
in class org.jivesoftware.smack.AbstractXMPPConnection
public void instantShutdown()
public XmppNioTcpConnection.Stats getStats()
protected javax.net.ssl.SSLSession getSSLSession()
getSSLSession
in class org.jivesoftware.smack.fsm.AbstractXmppStateMachineConnection