コード例 #1
0
        public void Open(Func<int> broadcastTransmitCount)
        {
            Debug.Assert(broadcastTransmitCount != null);

            _broadcasts = new BroadcastQueue(broadcastTransmitCount);
            _client = new GossipUdpClient(_configuration.LocalEndPoint, DatagramReceived, _configuration.Logger);
        }
コード例 #2
0
        public void Open(Func <int> broadcastTransmitCount)
        {
            Debug.Assert(broadcastTransmitCount != null);

            _broadcasts = new BroadcastQueue(broadcastTransmitCount);
            _client     = new GossipTcp(_configuration.LocalEndPoint, DatagramReceived, _configuration.Logger);
        }