Package org.jivesoftware.smack
Class SmackReactor
java.lang.Object
org.jivesoftware.smack.SmackReactor
The SmackReactor for non-blocking I/O.
Highlights include:
- Multiple reactor threads
- Scheduled actions
) ) ) ( ( ( ) ) ) (~~~~~~~~~) | Smack | |Reactor| I _._ I /' `\ I | | f | |~~~~~~~~~~~~~~| .' | | # # # # | '______|___|___________###|
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static final class
-
Method Summary
Modifier and TypeMethodDescriptionregisterWithSelector
(SelectableChannel channel, int ops, SmackReactor.ChannelSelectedCallback callback) void
setInterestOps
(SelectionKey selectionKey, int interestOps) void
setReactorThreadCount
(int reactorThreadCount)
-
Method Details
-
registerWithSelector
public SelectionKey registerWithSelector(SelectableChannel channel, int ops, SmackReactor.ChannelSelectedCallback callback) throws ClosedChannelException - Throws:
ClosedChannelException
-
setInterestOps
-
setReactorThreadCount
-