Table of Contents

Class PingPongServiceFactory

Namespace
NLightning.Infrastructure.Protocol.Factories
Assembly
NLightning.Infrastructure.dll

Factory for creating a ping pong service.

public class PingPongServiceFactory : IPingPongServiceFactory
Inheritance
PingPongServiceFactory
Implements
Inherited Members

Remarks

This class is used to create a ping pong service in test environments.

Constructors

PingPongServiceFactory(IMessageFactory, IOptions<NodeOptions>)

public PingPongServiceFactory(IMessageFactory messageFactory, IOptions<NodeOptions> nodeOptions)

Parameters

messageFactory IMessageFactory
nodeOptions IOptions<NodeOptions>

Methods

CreatePingPongService()

Creates a ping pong service.

public IPingPongService CreatePingPongService()

Returns

IPingPongService