C# Class Hie.Core.Mocks.EndpointMock

Inheritance: Hie.Core.Endpoints.EndpointBase
Show file Open project: NiclasOlofsson/HIE Class Usage Examples

Protected Properties

Property Type Description
_hostService IApplicationHost

Private Properties

Property Type Description

Public Methods

Method Description
EndpointMock ( ) : System.Collections.Generic
Initialize ( IApplicationHost host, IOptions options ) : void
ProcessMessage ( IEndpoint endpoint, byte data ) : void
SendTestMessage ( Message testMessage ) : void
StartProcessing ( ) : void
StopProcessing ( ) : void

Method Details

EndpointMock() public method

public EndpointMock ( ) : System.Collections.Generic
return System.Collections.Generic

Initialize() public method

public Initialize ( IApplicationHost host, IOptions options ) : void
host IApplicationHost
options IOptions
return void

ProcessMessage() public method

public ProcessMessage ( IEndpoint endpoint, byte data ) : void
endpoint IEndpoint
data byte
return void

SendTestMessage() public method

public SendTestMessage ( Message testMessage ) : void
testMessage Message
return void

StartProcessing() public method

public StartProcessing ( ) : void
return void

StopProcessing() public method

public StopProcessing ( ) : void
return void

Property Details

_hostService protected property

protected IApplicationHost _hostService
return IApplicationHost