org.opcfoundation.ua.utils.asyncsocket
Interface AsyncSelector.SelectListener
- Enclosing class:
- AsyncSelector
public static interface AsyncSelector.SelectListener
onSelected
void onSelected(AsyncSelector sender,
SelectableChannel channel,
int selectOps,
int interestOps)
- Event for selected key.
Note! InterestSet of key is set to 0, the implementor must return as
a result of onSelection the new set of interest ops.
Selection of a key is handled in one thread.
- Parameters:
sender - senderchannel - channel that selectedselectOps - selected event operations (See SelectionKey)interestOps - previous interest ops
Copyright © 2018. All rights reserved.