C# Class Dev2.Network.Execution.ExecutionStatusCallbackDispatcher

Inheritance: IExecutionStatusCallbackDispatcher, IDisposable
Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Méthodes publiques

Méthode Description
Add ( System.Guid callbackID, Action callback ) : bool

Adds the specified callback.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ExecutionStatusCallbackDispatcher ( ) : System
Post ( ExecutionStatusCallbackMessage message ) : void

Posts the specified message (Asynchronously).

Post ( System.Guid callbackID, ExecutionStatusCallbackMessageType messageType ) : void

A wrapper for the Post method which will only post a message if the callbackID isn't empty.

Remove ( System.Guid callbackID ) : bool

Removes the specified callback.

RemoveRange ( IList callbackID ) : void

Removes a range of callback IDs range.

Send ( ExecutionStatusCallbackMessage message ) : void

Sends the specified message (Synchronously).

Method Details

Add() public méthode

Adds the specified callback.
callback Channel is disposing.
public Add ( System.Guid callbackID, Action callback ) : bool
callbackID System.Guid The callback ID.
callback Action The callback.
Résultat bool

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

ExecutionStatusCallbackDispatcher() public méthode

public ExecutionStatusCallbackDispatcher ( ) : System
Résultat System

Post() public méthode

Posts the specified message (Asynchronously).
message Channel is disposing.
public Post ( ExecutionStatusCallbackMessage message ) : void
message ExecutionStatusCallbackMessage The message.
Résultat void

Post() public méthode

A wrapper for the Post method which will only post a message if the callbackID isn't empty.
public Post ( System.Guid callbackID, ExecutionStatusCallbackMessageType messageType ) : void
callbackID System.Guid The callback ID.
messageType ExecutionStatusCallbackMessageType Type of the message.
Résultat void

Remove() public méthode

Removes the specified callback.
Channel is disposing.
public Remove ( System.Guid callbackID ) : bool
callbackID System.Guid The callback ID.
Résultat bool

RemoveRange() public méthode

Removes a range of callback IDs range.
Channel is disposing.
public RemoveRange ( IList callbackID ) : void
callbackID IList The callback ID.
Résultat void

Send() public méthode

Sends the specified message (Synchronously).
message Channel is disposing.
public Send ( ExecutionStatusCallbackMessage message ) : void
message ExecutionStatusCallbackMessage The message.
Résultat void