AggregatedNeighbour
Object Hierarchy:
Description:
public class AggregatedNeighbour : Object
This class simply represent a neighbour. Each instance of this class represents a neighbour as seen by any number of nics of this node
associated to a certain address.
Namespace: Ntk.Core
Package: Netsukuku - vala port
Content:
Properties:
Static methods:
- public static
bool
equal_func (AggregatedNeighbour? a, AggregatedNeighbour? b)
- public static
uint
hash_func (AggregatedNeighbour a)
Creation methods:
- public AggregatedNeighbour.local (
int
levels, int
gsize, NIP nip, int
nodeid, NetworkID netid, bool
is_primary, bool
is_auxiliary, RPCDispatcher rpcdispatcher)
- public AggregatedNeighbour.real (
int
levels, int
gsize, NIP nip, int
nodeid, NetworkID netid, bool
is_primary, bool
is_auxiliary, HashMap
<string
,REM> interfaces, List
<string
> macs)
Methods:
Fields:
- public
int
levels
nip: neighbour's nip; nodeid: id of the node | nip + nodeid = unique
key. levels, gsize, netid: attributes of the network interfaces: a dict<nic_name,rem> macs: a sequence of string: the MAC of the
nics of the neighbour that I can see through my nics "interfaces"; | there could be more than one. rpcdispatcher is valorized for
neighbours that represent one of my addresses. it is used to make an instance of PseudoNeighbourClient.
- public
int
gsize
- public NIP nip
- public
int
nodeid
- public NetworkID netid
- public
bool
is_primary
- public
bool
is_auxiliary
- public
HashMap
<string
,REM>? interfaces
- public
List
<string
> macs
- public
int
mod_seq_num