C# Class Brunet.Messaging.Mock.ThreadedMockSender

This class provides a MockSender object for a multiple clients and a single end point, which is the Receiver provided in the constructor.
A user must supply the return path and state to use.
Inheritance: MockSender
Exibir arquivo Open project: pstjuste/brunet Class Usage Examples

Public Methods

Method Description
Send ( ICopyable data ) : void
ThreadedMockSender ( ISender ReturnPath, object State, IDataHandler Receiver, int RemoveNPTypes ) : Brunet
ThreadedMockSender ( ISender ReturnPath, object State, IDataHandler Receiver, int RemoveNPTypes, double drop_rate ) : Brunet
ToString ( ) : string

Protected Methods

Method Description
ThreadRun ( ) : void

Method Details

Send() public method

public Send ( ICopyable data ) : void
data ICopyable
return void

ThreadRun() protected method

protected ThreadRun ( ) : void
return void

ThreadedMockSender() public method

public ThreadedMockSender ( ISender ReturnPath, object State, IDataHandler Receiver, int RemoveNPTypes ) : Brunet
ReturnPath ISender
State object
Receiver IDataHandler
RemoveNPTypes int
return Brunet

ThreadedMockSender() public method

public ThreadedMockSender ( ISender ReturnPath, object State, IDataHandler Receiver, int RemoveNPTypes, double drop_rate ) : Brunet
ReturnPath ISender
State object
Receiver IDataHandler
RemoveNPTypes int
drop_rate double
return Brunet

ToString() public method

public ToString ( ) : string
return string