C# Class AsyncDolls.Testing.MessageUnit.MessageReceiverSimulator

Inheritance: IReceiveMessages
Show file Open project: danielmarbach/async-dolls

Public Methods

Method Description
HandOver ( AsyncDolls.TransportMessage message ) : System.Threading.Tasks.Task
MessageReceiverSimulator ( ICollection collector ) : System
StartAsync ( AsyncDolls.EndpointConfiguration configuration, Task>.Func onMessage ) : Task

Method Details

HandOver() public method

public HandOver ( AsyncDolls.TransportMessage message ) : System.Threading.Tasks.Task
message AsyncDolls.TransportMessage
return System.Threading.Tasks.Task

MessageReceiverSimulator() public method

public MessageReceiverSimulator ( ICollection collector ) : System
collector ICollection
return System

StartAsync() public method

public StartAsync ( AsyncDolls.EndpointConfiguration configuration, Task>.Func onMessage ) : Task
configuration AsyncDolls.EndpointConfiguration
onMessage Task>.Func
return Task