CyclonAdapter
Extends:
CyclonAdapter adapts the usage of a Cyclon RPS in the foglet library.
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public get |
The in-view ID of the peer in the network |
|
| public get |
The out-view ID of the peer in the network |
|
Method Summary
| Public Methods | ||
| public |
Get the IDs of all available neighbours |
|
| public |
getNeighbours(limit: Integer): String[] Get the IDs of all available neighbours with or without their suffix -I or -O |
|
| public |
getReachableNeighbours(transform: Boolean): String[] Get the IDs of all available neighbours with or without their suffix -I or -O |
|
| Private Methods | ||
| private |
Build a Spray RPS |
|
Public Constructors
public constructor() source
Public Methods
public getNeighbours(limit: Integer): String[] source
Get the IDs of all available neighbours with or without their suffix -I or -O
Params:
| Name | Type | Attribute | Description |
| limit | Integer | Max number of neighbours to look for |
public getReachableNeighbours(transform: Boolean): String[] source
Get the IDs of all available neighbours with or without their suffix -I or -O
Params:
| Name | Type | Attribute | Description |
| transform | Boolean | transform IDs into reachable ids to used for send messages => (peer) => peer-O |
