Naanou.LookupService
Structure Discovery

Holds particulars of a discovered node

Field Summary
Naanou.LookupService.Discovery Empty
         Empty discovery
string Id
         Node Id
bool IsEmpty
         Is discovery empty
int MAX_PRIORITY
         Maximum priority
string Network
         Network node belongs too
int Priority
         Priority level (0-9 (n), 0 being the highest)
string Url
         URL for node services. Will always have a trailing slash

Constructor Summary
Discovery(string id, string url, string network)
         Constructor for a high priority discovery
Discovery(bool asdf)
         Ctor
Discovery(string id, string url, string network, int priority)
         Constructor

Property Summary
string IpAddress

Method Summary
bool Equals(Naanou.LookupService.Discovery other)
         Does this discovery equal another

Methods inherited from class System.ValueType
Equals, GetHashCode, ToString

Methods inherited from class System.Object
Finalize, GetType, MemberwiseClone


Field Detail

Empty

public Naanou.LookupService.Discovery Empty

Empty discovery


Id

public string Id

Node Id


IsEmpty

public bool IsEmpty

Is discovery empty


MAX_PRIORITY

public int MAX_PRIORITY

Maximum priority


Network

public string Network

Network node belongs too


Priority

public int Priority

Priority level (0-9 (n), 0 being the highest)


Url

public string Url

URL for node services. Will always have a trailing slash

Constructor Detail

Discovery

public Discovery(string id,
                 string url,
                 string network)

Constructor for a high priority discovery

Parameters:
id - Node id
url - Services URL
network - Network id

Discovery

private Discovery(bool asdf)

Ctor

Parameters:
asdf - Good for nothin'

Discovery

public Discovery(string id,
                 string url,
                 string network,
                 int priority)

Constructor

Parameters:
id - Node id
url - Services URL
network - Network id
priority - Priority (0-9, 0 being the highest)
Property Detail

IpAddress

public string IpAddress

Method Detail

Equals

public bool Equals(Naanou.LookupService.Discovery other)

Does this discovery equal another

Parameters:
other - Compare to
Returns:
True if discoveries are equal