public abstract class AbstractXmppNioConnection extends AbstractXmppStateMachineConnection
AbstractXMPPConnection.InterceptorWrapper, AbstractXMPPConnection.ListenerWrapper
XMPPConnection.FromMode
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) |
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.
|
loginInternal
addAsyncStanzaListener, addConnectionListener, addOneTimeSyncCallback, addPacketInterceptor, addPacketSendingListener, addStanzaInterceptor, addStanzaSendingListener, addStreamFeature, addSyncStanzaListener, afterFeaturesReceived, afterSuccessfulLogin, asyncGo, bindResourceAndEstablishSession, callConnectionAuthenticatedListener, callConnectionClosedOnErrorListener, callConnectionConnectedListener, connect, connectInternal, createStanzaCollector, createStanzaCollector, createStanzaCollectorAndSend, createStanzaCollectorAndSend, disconnect, disconnect, finalize, firePacketSendingListeners, getConfiguration, getConnectionCounter, getConnectionLock, getFeature, getFromMode, getHost, getLastStanzaReceived, getParsingExceptionCallback, getPort, getReplyTimeout, getSASLAuthentication, getStreamId, getUsedSaslMechansism, getUser, getXMPPServiceDomain, hasFeature, initDebugger, invokeStanzaCollectorsAndNotifyRecvListeners, isAnonymous, isAuthenticated, isConnected, isSecureConnection, isUsingCompression, login, login, login, notifyReconnection, onStreamOpen, parseAndProcessStanza, parseFeatures, parseFeaturesAndNotify, populateHostAddresses, processStanza, registerIQRequestHandler, removeAsyncStanzaListener, removeConnectionListener, removePacketInterceptor, removePacketSendingListener, removeStanzaCollector, removeStanzaInterceptor, removeStanzaSendingListener, removeSyncStanzaListener, schedule, sendAsync, sendAsync, sendIqRequestAsync, sendIqRequestAsync, sendIqWithResponseCallback, sendIqWithResponseCallback, sendIqWithResponseCallback, sendNonza, sendStanza, sendStanzaInternal, sendStanzaWithResponseCallback, sendStanzaWithResponseCallback, sendStanzaWithResponseCallback, sendStreamOpen, setFromMode, setParsingExceptionCallback, setReplyTimeout, setUnknownIqRequestReplyMode, setWasAuthenticated, shutdown, throwAlreadyConnectedExceptionIfAppropriate, throwAlreadyLoggedInExceptionIfAppropriate, throwNotConnectedExceptionIfAppropriate, throwNotConnectedExceptionIfAppropriate, toString, unregisterIQRequestHandler, unregisterIQRequestHandler
protected AbstractXmppNioConnection(ConnectionConfiguration configuration)
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
-