프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_dht | IDht | ||
_ipop_namespace | String | ||
_sync | object | ||
dns_a | Cache | ||
dns_ptr | Cache |
메소드 | 설명 | |
---|---|---|
AddressLookUp ( String name ) : String |
Called during LookUp to perform translation from hostname to IP. If an entry isn't in cache, we can try to get it from the Dht. Throws an exception if the name is invalid and returns null if no name is found.
|
|
DhtDns ( MemBlock ip, MemBlock netmask, string name_server, bool forward_queries, IDht dht, String ipop_namespace ) : Brunet |
Create a DhtDns using the specified Dht object
|
|
NameLookUp ( String IP ) : String |
Called during LookUp to perfrom a translation from IP to hostname. Entries get here via the AddressLookUp as the Dht does not retain pointer lookup information.
|
public AddressLookUp ( String name ) : String | ||
name | String | The name to lookup |
리턴 | String |
public DhtDns ( MemBlock ip, MemBlock netmask, string name_server, bool forward_queries, IDht dht, String ipop_namespace ) : Brunet | ||
ip | MemBlock | |
netmask | MemBlock | |
name_server | string | |
forward_queries | bool | |
dht | IDht | A Dht object used to acquire name translations |
ipop_namespace | String | |
리턴 | Brunet |