C# Class FileFind.Meshwork.AckMethod

Stores information used to invoke a method after recieving an ack for a specific messageID.
Show file Open project: codebutler/meshwork Class Usage Examples

Public Properties

Property Type Description
MessageID string
args object[]

Public Methods

Method Description
AckMethod ( ) : System
AckMethod ( string messageID, MethodEventHandler method, object args ) : System
CallMethod ( System.DateTime TimeReceived ) : void

Invokes the method.

Method Details

AckMethod() public method

public AckMethod ( ) : System
return System

AckMethod() public method

public AckMethod ( string messageID, MethodEventHandler method, object args ) : System
messageID string
method MethodEventHandler
args object
return System

CallMethod() public method

Invokes the method.
public CallMethod ( System.DateTime TimeReceived ) : void
TimeReceived System.DateTime The DateTime the ack for this message was received.
return void

Property Details

MessageID public property

The MessageID this AckMethod is intended for.
public string MessageID
return string

args public property

An object[] of arguments to be passed to Method
public object[] args
return object[]