More information: http://www.cs.berkeley.edu/~mdw/proj/seda/

seda.nbio
Class SelectSetImpl

java.lang.Object
  |
  +--seda.nbio.SelectSetImpl
Direct Known Subclasses:
SelectSetDevPollImpl, SelectSetPollImpl

abstract class SelectSetImpl
extends java.lang.Object

SelectSetImpl represents an internal implementation of SelectSet. This allows SelectSet to change its internal implementation based on the features provided by the underlying O/S.


Constructor Summary
(package private) SelectSetImpl()
           
 
Method Summary
(package private) abstract  void add(SelectItem sel)
           
(package private) abstract  void add(SelectItem[] selarr)
           
(package private) abstract  SelectItem elementAt(int index)
           
(package private) abstract  SelectItem[] getEvents()
           
(package private) abstract  SelectItem[] getEvents(short mask)
           
(package private) abstract  int numActive()
           
(package private) abstract  void remove(int index)
           
(package private) abstract  void remove(SelectItem sel)
           
(package private) abstract  void remove(SelectItem[] selarr)
           
(package private) abstract  int select(int timeout)
           
(package private) abstract  int size()
           
(package private) abstract  void update()
           
(package private) abstract  void update(SelectItem sel)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectSetImpl

SelectSetImpl()
Method Detail

add

abstract void add(SelectItem sel)

add

abstract void add(SelectItem[] selarr)

remove

abstract void remove(SelectItem sel)

remove

abstract void remove(SelectItem[] selarr)

remove

abstract void remove(int index)

update

abstract void update()

update

abstract void update(SelectItem sel)

size

abstract int size()

numActive

abstract int numActive()

elementAt

abstract SelectItem elementAt(int index)

select

abstract int select(int timeout)

getEvents

abstract SelectItem[] getEvents(short mask)

getEvents

abstract SelectItem[] getEvents()

More information: http://www.cs.berkeley.edu/~mdw/proj/seda/