AbstractSelector

Constructors

this
this(size_t number, size_t divider, Worker worker, size_t maxChannels)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

deregister
bool deregister(AbstractChannel channel)
Undocumented in source. Be warned that the author may not have intended to support it.
doSelect
int doSelect(long t)
Undocumented in source. Be warned that the author may not have intended to support it.
handleTimer
void handleTimer()
Undocumented in source. Be warned that the author may not have intended to support it.
onLoop
void onLoop(long timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
register
bool register(AbstractChannel channel)
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Selector

_id
size_t _id;
Undocumented in source.
divider
size_t divider;
Undocumented in source.
idleTime
long idleTime;
Undocumented in source.
fd
int fd;
Undocumented in source.
getId
size_t getId()
Undocumented in source. Be warned that the author may not have intended to support it.
worker
Worker worker()
Undocumented in source. Be warned that the author may not have intended to support it.
isReady
bool isReady()
Undocumented in source. Be warned that the author may not have intended to support it.
isRuning
bool isRuning()

Tells whether or not this selector is running.

isOpen
alias isOpen = isRuning
Undocumented in source.
isStopping
bool isStopping()
Undocumented in source. Be warned that the author may not have intended to support it.
register
bool register(AbstractChannel channel)
Undocumented in source. Be warned that the author may not have intended to support it.
deregister
bool deregister(AbstractChannel channel)
Undocumented in source. Be warned that the author may not have intended to support it.
doSelect
int doSelect(long timeout)
Undocumented in source.
run
void run(long timeout)

timeout: in millisecond

runAsync
void runAsync(long timeout, SimpleEventHandler handler)

timeout: in millisecond

stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
onStop
void onStop()
Undocumented in source. Be warned that the author may not have intended to support it.
onLoop
void onLoop(long timeout)

timeout: in millisecond

select
int select(long timeout)

timeout: in millisecond

select
int select()
Undocumented in source. Be warned that the author may not have intended to support it.
selectNow
int selectNow()
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
isSelfThread
bool isSelfThread()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta