C# Class Dev2.Network.Execution.ExecutionStatusCallbackDispatcher

Inheritance: IExecutionStatusCallbackDispatcher, IDisposable
Datei anzeigen Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method 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 method

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.
return bool

Dispose() public method

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

ExecutionStatusCallbackDispatcher() public method

public ExecutionStatusCallbackDispatcher ( ) : System
return System

Post() public method

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

Post() public method

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.
return void

Remove() public method

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

RemoveRange() public method

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

Send() public method

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