예제 #1
0
 /// <param name="clientChannelFactory">A factory used to build the appropriate kind of channel for a udp client.</param>
 /// <param name="eventLoopGroupFactory"></param>
 /// <param name="peerSettings"></param>
 public PeerClient(IUdpClientChannelFactory clientChannelFactory,
                   IUdpClientEventLoopGroupFactory eventLoopGroupFactory,
                   IPeerSettings peerSettings)
     : base(clientChannelFactory,
            Log.Logger.ForContext(MethodBase.GetCurrentMethod().DeclaringType),
            eventLoopGroupFactory)
 {
     _peerSettings = peerSettings;
 }
예제 #2
0
 protected UdpClient(IUdpClientChannelFactory clientChannelFactory, ILogger logger, IUdpClientEventLoopGroupFactory eventLoopGroupFactory)
     : base(clientChannelFactory, logger, eventLoopGroupFactory)
 {
 }