org.opcfoundation.ua.utils.asyncsocket
Interface AsyncSelector.SelectListener

Enclosing class:
AsyncSelector

public static interface AsyncSelector.SelectListener


Method Summary
 void onSelected(AsyncSelector sender, SelectableChannel channel, int selectOps, int interestOps)
          Event for selected key.
 

Method Detail

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 - sender
channel - channel that selected
selectOps - selected event operations (See SelectionKey)
interestOps - previous interest ops


Copyright © 2018. All rights reserved.