C# Class Brunet.Messaging.Mock.MockDataHandler

This class provides a MockDataHandler object that keeps a hash table containing all the data received and an event to notify when an HandleData has been called.
Inheritance: IDataHandler
Show file Open project: pstjuste/brunet Class Usage Examples

Public Methods

Method Description
Contains ( object o ) : bool
HandleData ( MemBlock payload, ISender return_path, object state ) : void
MockDataHandler ( ) : Brunet
Position ( object o ) : int
Value ( object o ) : ISender

Method Details

Contains() public method

public Contains ( object o ) : bool
o object
return bool

HandleData() public method

public HandleData ( MemBlock payload, ISender return_path, object state ) : void
payload MemBlock
return_path ISender
state object
return void

MockDataHandler() public method

public MockDataHandler ( ) : Brunet
return Brunet

Position() public method

public Position ( object o ) : int
o object
return int

Value() public method

public Value ( object o ) : ISender
o object
return ISender