Method Summary |
|
public QueueElementIF | blocking_dequeue(int timeout_millis) Dequeue the next element from the SelectSource. |
public QueueElementIF[] | blocking_dequeue(int timeout_millis, int num) Dequeue a set of elements from the SelectSource. |
public QueueElementIF[] | blocking_dequeue_all(int timeout_millis) Dequeue a set of elements from the SelectSource. |
public QueueElementIF | dequeue() Dequeues the next element from the SelectSource without blocking. |
public QueueElementIF[] | dequeue(int num) Dequeues at most num elements which are ready from the
SelectSource. |
public QueueElementIF[] | dequeue_all() Dequeues all elements which are ready from the SelectSource. |
public void | deregister(Object selobj) Deregister a SelectItem with this SelectSource.
Note that after calling deregister, subsequent calls to dequeue
may in fact return this SelectItem as a result. |
public Object | getSelectSet() |
public int | numActive() Return the number of active SelectItems registered with the SelectSource. |
public int | numRegistered() Return the number of SelectItems registered with the SelectSource. |
public void | register(Object selobj) Register a SelectItem with the SelectSource. |
public Object | register(Object sc_obj, int ops) |
public int | size() Return the number of elements waiting in the queue (that is,
which don't require a SelectSet poll operation to retrieve). |
public void | update() Must be called if the 'events' mask of any SelectItem registered
with this SelectSource changes. |
public void | update(Object selobj) Must be called if the 'events' mask of this SelectItem (which
must be registered with this SelectSource) changes. |