C# Class NetMQ.NetMQScheduler

Inheritance: System.Threading.Tasks.TaskScheduler, IDisposable
ファイルを表示 Open project: NetMQ/NetMQ3-x Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Release any contained resources.

NetMQScheduler ( [ poller = null ) : System

Create a new NetMQScheduler object within the given context, and optionally using the given poller.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Release any contained resources.

GetScheduledTasks ( ) : IEnumerable

Return a collection of the scheduled Tasks. (Not supported - for debug purposes only)

QueueTask ( Task task ) : void
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool

Private Methods

Method Description
DisposeSynced ( ) : void
NetMQScheduler ( Poller poller, NetMQ.PushSocket pushSocket, NetMQ.PullSocket pullSocket ) : System
NetMQScheduler ( [ context, [ poller = null ) : System
OnMessage ( object sender, NetMQSocketEventArgs e ) : void
OnMessageFirstTime ( object sender, NetMQSocketEventArgs e ) : void

Method Details

Dispose() public method

Release any contained resources.
public Dispose ( ) : void
return void

Dispose() protected method

Release any contained resources.
protected Dispose ( bool disposing ) : void
disposing bool set this to true if releasing managed resources
return void

GetScheduledTasks() protected method

Return a collection of the scheduled Tasks. (Not supported - for debug purposes only)
protected GetScheduledTasks ( ) : IEnumerable
return IEnumerable

NetMQScheduler() public method

Create a new NetMQScheduler object within the given context, and optionally using the given poller.
public NetMQScheduler ( [ poller = null ) : System
poller [ (optional)the Poller for this Net to use
return System

QueueTask() protected method

protected QueueTask ( Task task ) : void
task Task
return void

TryExecuteTaskInline() protected method

protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool
task Task
taskWasPreviouslyQueued bool
return bool