Naanou.LookupService
Structure CachedNode

Cached node

Field Summary
Naanou.LookupService.NodeAddress Address
         Address
int queueCount

Constructor Summary
CachedNode(Naanou.LookupService.NodeAddress address)
         Constructor

Property Summary
int QueueCount
         Gets how many times this node is queued

Method Summary
int QueueAdded()
         Increment queue counter
int QueueRemoved()
         Decrement queue counter

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

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


Field Detail

Address

public Naanou.LookupService.NodeAddress Address

Address


queueCount

private int queueCount

Constructor Detail

CachedNode

public CachedNode(Naanou.LookupService.NodeAddress address)

Constructor

Parameters:
address - Address
Property Detail

QueueCount

public int QueueCount

Gets how many times this node is queued

Method Detail

QueueAdded

public int QueueAdded()

Increment queue counter

Returns:
New queued count

QueueRemoved

public int QueueRemoved()

Decrement queue counter

Returns:
New queued count