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
IMessageFactorynodeOptions
IOptions<NodeOptions>
Methods
CreatePingPongService()
Creates a ping pong service.
public IPingPongService CreatePingPongService()