public abstract class AbstractXmppNioConnection extends AbstractXmppStateMachineConnection
AbstractXmppStateMachineConnection.AuthenticatedAndResourceBoundStateDescriptor, AbstractXmppStateMachineConnection.AuthenticatedButUnboundStateDescriptor, AbstractXmppStateMachineConnection.CompressionStateDescriptor, AbstractXmppStateMachineConnection.CompressionTransitionSuccessResult, AbstractXmppStateMachineConnection.ConnectedButUnauthenticatedStateDescriptor, AbstractXmppStateMachineConnection.DisconnectedStateDescriptor, AbstractXmppStateMachineConnection.NoOpState, AbstractXmppStateMachineConnection.ResourceBindingStateDescriptor, AbstractXmppStateMachineConnection.ResourceBoundResult, AbstractXmppStateMachineConnection.SaslAuthenticationStateDescriptor, AbstractXmppStateMachineConnection.SaslAuthenticationSuccessResult, AbstractXmppStateMachineConnection.State, AbstractXmppStateMachineConnection.TransitionFailureResult, AbstractXmppStateMachineConnection.TransitionImpossibleBecauseNotImplemented, AbstractXmppStateMachineConnection.TransitionImpossibleReason, AbstractXmppStateMachineConnection.TransitionIntoResult, AbstractXmppStateMachineConnection.TransitionSuccessResult, AbstractXmppStateMachineConnection.WalkStateGraphContext, AbstractXmppStateMachineConnection.WalkStateGraphContextBuilderAbstractXMPPConnection.InterceptorWrapper, AbstractXMPPConnection.ListenerWrapper, AbstractXMPPConnection.SmackTlsContextXMPPConnection.FromModestreamResumedASYNC_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| Modifier | Constructor and Description |
|---|---|
protected |
AbstractXmppNioConnection(ConnectionConfiguration configuration,
StateDescriptorGraph.GraphVertex<StateDescriptor> initialStateDescriptorVertex) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addConnectionStateMachineListener, addXmppInputOutputFilter, afterFeaturesReceived, buildNewWalkTo, getFilterStats, getSSLSession, 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, connectInternal, 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, instantShutdown, invokeStanzaCollectorsAndNotifyRecvListeners, isAnonymous, isAuthenticated, isConnected, isSecureConnection, 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, sendNonza, sendStanza, sendStanzaInternal, sendStreamOpen, setFromMode, setMaxAsyncOperations, setParsingExceptionCallback, setReplyTimeout, setUnknownIqRequestReplyMode, setWasAuthenticated, shutdown, throwAlreadyConnectedExceptionIfAppropriate, throwAlreadyLoggedInExceptionIfAppropriate, throwNotConnectedExceptionIfAppropriate, throwNotConnectedExceptionIfAppropriate, toString, trySendStanza, trySendStanza, unregisterIQRequestHandler, unregisterIQRequestHandler, waitForClosingStreamTagFromServerprotected 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.ClosedChannelExceptionprotected void setInterestOps(java.nio.channels.SelectionKey selectionKey,
int interestOps)
selectionKey - interestOps -