프로퍼티 | 타입 | 설명 |
---|
메소드 | 설명 | |
---|---|---|
Destroy ( ) : void |
Release any contained resources - by destroying the poller and closing the mailbox.
|
|
ForceStop ( ) : void | ||
InEvent ( ) : void |
Handle input-ready events, by receiving and processing any commands that are waiting in the mailbox.
|
|
OutEvent ( ) : void |
This method normally is for handling output-ready events, which don't apply here.
|
|
Reaper ( [ ctx, int threadId ) : System |
Create a new Reaper with the given thread-id. This will have a new Poller with the name "reaper-" + thread-id, and a Mailbox of that same name.
|
|
Start ( ) : void |
Start the contained Poller to begin polling.
|
|
Stop ( ) : void |
Issue the Stop command to this Reaper object.
|
|
TimerEvent ( int id ) : void |
This would be called when a timer expires - however in this event NotSupportedException would be thrown.
|
메소드 | 설명 | |
---|---|---|
ProcessForceStop ( ) : void | ||
ProcessReap ( |
Add the given socket to the list to be reaped (terminated).
|
|
ProcessReaped ( ) : void |
Respond to having one of the sockets that are marked for reaping, - finished being reaped, and if there are none left - send the Done command and stop the poller.
|
|
ProcessStop ( ) : void |
Respond to the Stop command by signaling the polling-loop to terminate, and if there're no sockets left to reap - stop the poller.
|
protected ProcessReap ( |
||
socket | the socket to add to the list for termination | |
리턴 | void |
public Reaper ( [ ctx, int threadId ) : System | ||
ctx | [ | the Ctx for this to be in |
threadId | int | an integer id to give to the thread this will live on |
리턴 | System |
public TimerEvent ( int id ) : void | ||
id | int | an integer used to identify the timer |
리턴 | void |