|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||
Manages the backwards fingers.
| Fields inherited from class Naanou.LookupService.FingerTable |
|---|
| entries, entriesSize, fingerPowers, fingerRequestStart, forward, logName, node, nodeId, nodes, requestedFingersFrom |
| Constructor Summary | |
|---|---|
|
BackwardsFingerTable(Naanou.LookupService.Node node) Constructor |
|
| Properties inherited from class Naanou.LookupService.FingerTable |
|---|
| Addresses, Count, IsForward, Node, Stats, Util |
| Method Summary | |
|---|---|
| void |
AddressNotify(Naanou.LookupService.NodeAddress address) Called when Node knows about a new address. Try to put it into finger table somewhere |
| void |
BuildTable() Builds the finger table, overriden from FingerTable |
| int |
GetClosestEntriesIndex(Naanou.Common.Hash id) Gets the closest index on the entries array to id=. Will fuzzy match the closest LOWER index if no exact can be found |
| Naanou.LookupService.NodeAddress |
GetReplacement(Naanou.Common.Hash id) Gets the node nearest to id, but not the node with that id |
| void |
RemoveNode(Naanou.LookupService.NodeAddress address) Remove an address from finger table, and rearrange existing |
| Methods inherited from class Naanou.LookupService.FingerTable |
|---|
| ChangeKey, Clear, Dump, FindClosest, NotifyFingers, Reset, ToString |
| Methods inherited from class System.Object |
|---|
| Equals, Finalize, GetHashCode, GetType, MemberwiseClone |
| Events inherited from class Naanou.LookupService.FingerTable |
|---|
| FingerFillFailed, FingerKeyChange |
| Constructor Detail |
|---|
internal BackwardsFingerTable(Naanou.LookupService.Node node)
Constructor
Parameters:
node - Node to link to| Method Detail |
|---|
public void AddressNotify(Naanou.LookupService.NodeAddress address)
Called when Node knows about a new address. Try to put it into finger table somewhere
Parameters:
address - Address to addprotected void BuildTable()
Builds the finger table, overriden from FingerTable
protected int GetClosestEntriesIndex(Naanou.Common.Hash id)
Gets the closest index on the entries array to id=. Will fuzzy match the closest LOWER index if no exact can be found
Parameters:
id - Idpublic Naanou.LookupService.NodeAddress GetReplacement(Naanou.Common.Hash id)
Gets the node nearest to id, but not the node with that id
Parameters:
id - Idprotected void RemoveNode(Naanou.LookupService.NodeAddress address)
Remove an address from finger table, and rearrange existing
Parameters:
address - Node to remove
|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||