public abstract class AbstractXmppNioConnection extends AbstractXmppStateMachineConnection
AbstractXmppStateMachineConnection.AuthenticatedAndResourceBoundStateDescriptor, AbstractXmppStateMachineConnection.AuthenticatedButUnboundStateDescriptor, AbstractXmppStateMachineConnection.CompressionStateDescriptor, AbstractXmppStateMachineConnection.ConnectedButUnauthenticatedStateDescriptor, AbstractXmppStateMachineConnection.DisconnectedState, AbstractXmppStateMachineConnection.DisconnectedStateDescriptor, AbstractXmppStateMachineConnection.NoOpState, AbstractXmppStateMachineConnection.ResourceBindingStateDescriptor, AbstractXmppStateMachineConnection.SaslAuthenticationStateDescriptor, AbstractXmppStateMachineConnection.State, AbstractXmppStateMachineConnection.TransitionFailedReason, AbstractXmppStateMachineConnection.TransitionImpossibleReason, AbstractXmppStateMachineConnection.WalkStateGraphContext, AbstractXmppStateMachineConnection.WalkStateGraphContextBuilder
AbstractXMPPConnection.InterceptorWrapper, AbstractXMPPConnection.ListenerWrapper, AbstractXMPPConnection.SmackTlsContext
XMPPConnection.FromMode
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 |
AbstractXmppNioConnection(ConnectionConfiguration configuration,
StateDescriptorGraph.GraphVertex<StateDescriptor> initialStateDescriptorVertex) |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
protected java.nio.channels.SelectionKey |
registerWithSelector(java.nio.channels.SelectableChannel channel,
int ops,
SmackReactor.ChannelSelectedCallback callback) |
protected void |
setInterestOps(java.nio.channels.SelectionKey selectionKey,
int interestOps)
Set the interest Ops of a SelectionKey.
|
addXmppInputOutputFilter, afterFeaturesReceived, buildNewWalkTo, getSSLSession, getXmppInputOutputFilterBeginIterator, getXmppInputOutputFilterEndIterator, loginInternal, newStreamOpenWaitForFeaturesSequence, parseAndProcessElement, prepareToWaitForFeaturesReceived, waitForFeaturesReceived, walkStateGraph
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 AbstractXmppNioConnection(ConnectionConfiguration configuration, StateDescriptorGraph.GraphVertex<StateDescriptor> initialStateDescriptorVertex)
protected java.nio.channels.SelectionKey registerWithSelector(java.nio.channels.SelectableChannel channel, int ops, SmackReactor.ChannelSelectedCallback callback) throws java.nio.channels.ClosedChannelException
java.nio.channels.ClosedChannelException
protected void setInterestOps(java.nio.channels.SelectionKey selectionKey, int interestOps)
selectionKey
- interestOps
- protected void finalize()
finalize
in class java.lang.Object