Beispiel #1
0
        ///<summary>Creates a DhtIpopNode.</summary>
        /// <param name="NodeConfig">NodeConfig object</param>
        /// <param name="IpopConfig">IpopConfig object</param>
        public DhtIpopNode(NodeConfig node_config, IpopConfig ipop_config,
        DHCPConfig dhcp_config)
            : base(node_config, ipop_config, dhcp_config)
        {
            _address_resolver = new DhtAddressResolver(Dht, _ipop_config.IpopNamespace);

              _connected = false;
              Brunet.StateChangeEvent += StateChangeHandler;
              StateChangeHandler(Brunet, Brunet.ConState);
        }
Beispiel #2
0
 ///<summary>Creates a DhtIpopNode.</summary>
 /// <param name="NodeConfig">NodeConfig object</param>
 /// <param name="IpopConfig">IpopConfig object</param>
 public DhtIpopNode(NodeConfig node_config, IpopConfig ipop_config,
 DHCPConfig dhcp_config)
     : base(node_config, ipop_config, dhcp_config)
 {
     _address_resolver = new DhtAddressResolver(Dht, _ipop_config.IpopNamespace);
 }