프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Cancel | void | ||
INetMQPoller | void | ||
INetMQPoller | void | ||
ISocketPollableCollection | void | ||
OnSocketEventsChanged | void | ||
PollWhile | void | ||
RebuildPollset | void | ||
Start | void | ||
Stop | void | ||
Stop | void | ||
TicklessTimer | int |
메소드 | 설명 | |
---|---|---|
AddPollInSocket ( [ socket, [ |
Add the given socket and Action to this Poller's collection of socket/actions.
|
|
AddSocket ( [ socket ) : void |
Add the given socket to this Poller's list.
|
|
AddTimer ( [ timer ) : void |
Add the given timer to this Poller's list.
|
|
Cancel ( ) : void |
Cancel the poller job when PollTillCancelled is called
|
|
CancelAndJoin ( ) : void |
Cancel the poller job when PollTillCancelled is called and wait for the PollTillCancelled to complete
|
|
ContainsSocket ( NetMQSocket socket ) : bool |
Gets whether socket has been added to this Poller.
|
|
Dispose ( ) : void |
Perform any freeing, releasing or resetting of contained resources. If this poller is already started, signal the polling thread to stop - and block to wait for it. Calling this again after the first time, does nothing. |
|
PollOnce ( ) : void |
Poll one time.
|
|
PollTillCancelled ( ) : void |
Poll till Cancel or CancelAndJoin is called. This is a blocking method.
|
|
PollTillCancelledNonBlocking ( ) : void |
The non blocking version of PollTillCancelled, starting the PollTillCancelled on new thread. Will poll till Cancel or CancelAndJoin is called. This method is not blocking.
|
|
Poller ( ) : System |
Create a new Poller object, with a default PollTimeout of 1 second.
|
|
RemoveAllSockets ( ) : void |
Delete all sockets from this Poller's list.
|
|
RemoveAllTimers ( ) : void |
Remove all timers from this Poller's list.
|
|
RemovePollInSocket ( [ socket ) : void |
Delete the given socket from this Poller's collection of socket/actions.
|
|
RemoveSocket ( [ socket ) : void |
Delete the given socket from this Poller's list.
|
|
RemoveTimer ( [ timer ) : void |
Delete the given timer from this Poller's list.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Perform any freeing, releasing or resetting of contained resources. If this poller is already started, signal the polling thread to stop - and block to wait for it.
|
메소드 | 설명 | |
---|---|---|
Cancel ( bool waitForCloseToComplete ) : void |
Signal this poller to stop, and return immediately if waitForCloseToComplete is false, block until the poller has actually stopped if waitForCloseToComplete is true.
|
|
INetMQPoller ( ) : void | ||
INetMQPoller ( ISocketPollable socket ) : void | ||
ISocketPollableCollection ( ISocketPollable socket ) : void | ||
OnSocketEventsChanged ( object sender, |
Handle the EventsChanged event of any of the sockets contained within this Poller, by marking this poller as "dirty" in order to reset the poll events.
|
|
PollWhile ( [ |
Poll as long as the given Func evaluates to true.
|
|
RebuildPollset ( ) : void | ||
Start ( ) : void | ||
Stop ( ) : void | ||
Stop ( bool waitForCloseToComplete ) : void | ||
TicklessTimer ( ) : int |
Return the soonest timeout value of all the timers in the list, or zero to indicate any of them have already elapsed. The timeout is in milliseconds from now.
|
public AddPollInSocket ( [ socket, [ |
||
socket | [ | the Socket to add |
callback | [ |
the Action to add |
리턴 | void |
public AddSocket ( [ socket ) : void | ||
socket | [ | the ISocketPollable to add to the list |
리턴 | void |
public AddTimer ( [ timer ) : void | ||
timer | [ | the NetMQTimer to add to the list |
리턴 | void |
public ContainsSocket ( NetMQSocket socket ) : bool | ||
socket | NetMQSocket | |
리턴 | bool |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if releasing managed resources |
리턴 | void |
public RemovePollInSocket ( [ socket ) : void | ||
socket | [ | the Socket to remove |
리턴 | void |
public RemoveSocket ( [ socket ) : void | ||
socket | [ | the ISocketPollable to remove from the list |
리턴 | void |
public RemoveTimer ( [ timer ) : void | ||
timer | [ | the NetMQTimer to remove from the list |
리턴 | void |