AggregatedNeighbourManager
Object Hierarchy:
Description:
public class AggregatedNeighbourManager :
Object
,
IAggregatedNeighbourManager
Namespace: Ntk.Core
Package: Netsukuku - vala port
Content:
Creation methods:
Methods:
- public
string
report_status ()
- public
uint32
report_status_hash ()
- public void reply (
Object
? _rpc_caller, int
radar_id, NIP nip, int
nodeid, NetworkID netid) throws RPCError
Radar functions
- public void time_register (
int
radar_id, int
levels, int
gsize, NIP nip, int
nodeid, NetworkID netid, string
mac, bool
is_primary, bool
is_auxiliary)
- public void declare_dead (NIP nip,
int
nodeid)
- public AggregatedNeighbour? key_to_neighbour (NIP nip,
int
nodeid)
return a AggregatedNeighbour object from its nip and nodeid
- public
List
<AggregatedNeighbour> neighbour_list (bool
? in_my_network = null, NetworkID? with_this_netid = null)
Returns the list of neighbours. If with_this_netid is not None, then
returns only nodes | that are in the network with this netid. Else, if in_my_network is not None, then returns only nodes | that are
in my network (compared with all the GID of last level). Else all the neighbours are returned.
- protected virtual void store_add_neighbour (
string
key, AggregatedNeighbour val)
- public void initialize ()
Take the list of known neighbours from all the NICs associated and
build my internal data structures.
- public void nic_going_add_neighbour (Neighbour neighbour)
A neighbour is going to be added in a nic.
- public void nic_going_rem_change_neighbour (Neighbour neighbour)
A neighbour is going to be rem_chged in a nic.
- public void nic_going_delete_neighbour (Neighbour neighbour)
A neighbour is going to be deleted in a nic.
- public void nic_add_neighbour (Neighbour neighbour)
A neighbour has been added in a nic.
- public void nic_rem_change_neighbour (Neighbour neighbour, REM old_rem)
A neighbour has been rem_chged in a nic.
- public void nic_delete_neighbour (Neighbour neighbour)
A neighbour has been deleted in a nic.
- public void going_add_neighbour (AggregatedNeighbour aggregated_neighbour)
Emits signal BEFORE a new neighbour.
- public void going_delete_neighbour (AggregatedNeighbour aggregated_neighbour)
Emits signal BEFORE a dead neighbour.
- public void going_rem_change_neighbour (AggregatedNeighbour aggregated_neighbour)
Emits signal BEFORE a changed rem neighbour.
- public void add_neighbour (
string
key)
Emits signal for a new neighbour.
- public void delete_neighbour (
string
key, AggregatedNeighbour old_val)
Emits signal for a dead neighbour.
- public void rem_change_neighbour (
string
key, REM old_rem)
Emits signal for a changed rem neighbour.
Signals:
Fields: