public abstract class AbstractXmppStateMachineConnection extends AbstractXMPPConnection
AbstractXMPPConnection.InterceptorWrapper, AbstractXMPPConnection.ListenerWrapper, AbstractXMPPConnection.SmackTlsContext
XMPPConnection.FromMode
Modifier and Type | Field and Description |
---|---|
protected boolean |
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
Modifier | Constructor and Description |
---|---|
protected |
AbstractXmppStateMachineConnection(ConnectionConfiguration configuration,
StateDescriptorGraph.GraphVertex<StateDescriptor> initialStateDescriptorVertex) |
addAsyncStanzaListener, addConnectionListener, addOneTimeSyncCallback, addStanzaInterceptor, addStanzaSendingListener, addStreamFeature, addSyncStanzaListener, afterSuccessfulLogin, asyncGo, bindResourceAndEstablishSession, buildNonzaCallback, callConnectionAuthenticatedListener, callConnectionClosedOnErrorListener, callConnectionConnectedListener, connect, connectInternal, 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, isSecureConnection, isUsingCompression, login, login, login, onStreamOpen, parseAndProcessNonza, parseAndProcessStanza, parseFeatures, parseFeaturesAndNotify, populateHostAddresses, processStanza, registerIQRequestHandler, removeAsyncStanzaListener, removeConnectionListener, removeStanzaCollector, removeStanzaInterceptor, removeStanzaSendingListener, removeSyncStanzaListener, schedule, sendAndWaitForResponse, sendAsync, sendAsync, sendIqRequestAndWaitForResponse, sendIqRequestAsync, sendIqRequestAsync, sendNonza, sendStanza, sendStanzaInternal, sendStreamOpen, setFromMode, setParsingExceptionCallback, setReplyTimeout, setUnknownIqRequestReplyMode, setWasAuthenticated, shutdown, throwAlreadyConnectedExceptionIfAppropriate, throwAlreadyLoggedInExceptionIfAppropriate, throwNotConnectedExceptionIfAppropriate, throwNotConnectedExceptionIfAppropriate, toString, trySendStanza, trySendStanza, unregisterIQRequestHandler, unregisterIQRequestHandler
protected boolean streamResumed
protected AbstractXmppStateMachineConnection(ConnectionConfiguration configuration, StateDescriptorGraph.GraphVertex<StateDescriptor> initialStateDescriptorVertex)
protected void loginInternal(String username, String password, Resourcepart resource) throws XMPPException, SmackException, IOException, InterruptedException
loginInternal
in class AbstractXMPPConnection
XMPPException
SmackException
IOException
InterruptedException
protected static AbstractXmppStateMachineConnection.WalkStateGraphContextBuilder buildNewWalkTo(Class<? extends StateDescriptor> finalStateClass)
protected void walkStateGraph(AbstractXmppStateMachineConnection.WalkStateGraphContext walkStateGraphContext) throws XMPPException.XMPPErrorException, SASLErrorException, IOException, SmackException, InterruptedException, XMPPException.FailedNonzaException
protected abstract SSLSession getSSLSession()
protected void afterFeaturesReceived()
afterFeaturesReceived
in class AbstractXMPPConnection
protected final void parseAndProcessElement(String element) throws Exception
Exception
protected void prepareToWaitForFeaturesReceived()
protected void waitForFeaturesReceived(String waitFor) throws InterruptedException, SmackException.NoResponseException
protected void newStreamOpenWaitForFeaturesSequence(String waitFor) throws SmackException.NoResponseException, InterruptedException, SmackException.NotConnectedException
protected final void addXmppInputOutputFilter(XmppInputOutputFilter xmppInputOutputFilter)
protected final ListIterator<XmppInputOutputFilter> getXmppInputOutputFilterBeginIterator()
protected final ListIterator<XmppInputOutputFilter> getXmppInputOutputFilterEndIterator()