C# Class NServiceBus.AcceptanceTests.Core.FakeTransport.FakeReceiver

Inheritance: IPushMessages
显示文件 Open project: Particular/NServiceBus

Public Methods

Method Description
FakeReceiver ( bool throwCritical, bool throwOnStop, Exception exceptionToThrow ) : System
Init ( Task>.Func onMessage, Func onError, NServiceBus criticalError, PushSettings settings ) : System.Threading.Tasks.Task
Start ( PushRuntimeSettings limitations ) : void
Stop ( ) : System.Threading.Tasks.Task

Method Details

FakeReceiver() public method

public FakeReceiver ( bool throwCritical, bool throwOnStop, Exception exceptionToThrow ) : System
throwCritical bool
throwOnStop bool
exceptionToThrow System.Exception
return System

Init() public method

public Init ( Task>.Func onMessage, Func onError, NServiceBus criticalError, PushSettings settings ) : System.Threading.Tasks.Task
onMessage Task>.Func
onError Func
criticalError NServiceBus
settings PushSettings
return System.Threading.Tasks.Task

Start() public method

public Start ( PushRuntimeSettings limitations ) : void
limitations PushRuntimeSettings
return void

Stop() public method

public Stop ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task