C# Class NetMQ.NetMQScheduler

Inheritance: System.Threading.Tasks.TaskScheduler, IDisposable
Afficher le fichier Open project: NetMQ/NetMQ3-x Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode 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 méthode

Release any contained resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

GetScheduledTasks() protected méthode

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

NetMQScheduler() public méthode

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
Résultat System

QueueTask() protected méthode

protected QueueTask ( Task task ) : void
task Task
Résultat void

TryExecuteTaskInline() protected méthode

protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool
task Task
taskWasPreviouslyQueued bool
Résultat bool