EPV
Entry composing the partial view of a peer.
Constructor Summary
Public Constructor | ||
public |
constructor(peerId: string, descriptor: object) |
Member Summary
Public Members | ||
public |
|
|
public get |
count: * Get the number of occurrences of this neighbor. |
|
public |
descriptor: * |
|
public get |
Get the oldest age of this neighbor. |
|
public |
peer: * |
Method Summary
Public Methods | ||
public |
add() Add a new 'instance' of this neigbhor, i.e., add a new age entry. |
|
public |
Increment the ages |
|
public |
Remove the oldest entry of this neighbor. |
|
public |
Remove the youngest entry of this neigbhor. |
|
public |
Update the descriptor of the entry |