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
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final class -
Method Summary
Modifier and TypeMethodDescriptionregisterWithSelector(SelectableChannel channel, int ops, SmackReactor.ChannelSelectedCallback callback) voidsetInterestOps(SelectionKey selectionKey, int interestOps) voidsetReactorThreadCount(int reactorThreadCount)
-
Method Details
-
registerWithSelector
public SelectionKey registerWithSelector(SelectableChannel channel, int ops, SmackReactor.ChannelSelectedCallback callback) throws ClosedChannelException - Throws:
ClosedChannelException
-
setInterestOps
-
setReactorThreadCount
-