Example #1
0
        public PureP2PClient([NotNull] PureP2PCommsNetwork network, [NotNull] string sessionId)
            : base(network)
        {
            if (network == null)
            {
                throw new ArgumentNullException("network");
            }
            if (network == null)
            {
                throw new ArgumentNullException("sessionId");
            }

            _network   = network;
            _sessionId = sessionId;
        }
Example #2
0
 public PureP2PServer(PureP2PCommsNetwork network, string sessionId)
 {
     _network   = network;
     _sessionId = sessionId;
 }