public PeerService(IUdpServerEventLoopGroupFactory udpServerEventLoopGroupFactory, IUdpServerChannelFactory serverChannelFactory, IPeerDiscovery peerDiscovery, IEnumerable <IP2PMessageObserver> messageHandlers, IPeerSettings peerSettings, ILogger logger, IHealthChecker healthChecker) : base(serverChannelFactory, logger, udpServerEventLoopGroupFactory) { _messageHandlers = messageHandlers; _peerSettings = peerSettings; _healthChecker = healthChecker; Discovery = peerDiscovery; }
protected UdpServer(IUdpServerChannelFactory serverChannelFactory, ILogger logger, IUdpServerEventLoopGroupFactory udpServerEventLoopGroupFactory) : base(serverChannelFactory, logger, udpServerEventLoopGroupFactory) { }