Ntk.Core.NeighbourManager Reference Manual
Packages
Netsukuku - vala port
Ntk
Core
NeighbourManager
radar
NeighbourManager
NeighbourManager.fake
_truncate
add_neighbour
declare_dead
delete_neighbour
empty
going_add
going_delete
going_rem_change
key_to_neighbour
neighbour_list
rem_change_neighbour
store
neighbour_deleted
neighbour_going_deleted
neighbour_going_new
neighbour_going_rem_chged
neighbour_new
neighbour_rem_chged
NeighbourManager
Object Hierarchy:
Description:
public
class
NeighbourManager
:
Object
All known sub-classes:
GlueNeighbourManager
TunneledNeighbourManager
Namespace:
Ntk.Core
Package:
Netsukuku - vala port
Content:
Properties:
public
Radar
radar
{
set
;
get
; }
Creation methods:
protected
NeighbourManager.fake
()
public
NeighbourManager
(
Radar
radar,
int
max_neighbours = -
1
)
Methods:
public
virtual
List
<
Neighbour
>
neighbour_list
()
Returns the list of neighbours.
public
Neighbour
?
key_to_neighbour
(
NIP
nip,
int
nodeid)
return a Neighbour object from its nip and nodeid
public
HashMap
<
string
,
Neighbour
>
_truncate
(
HashMap
<
string
,
Neighbour
> old_tnip_nodeid_table)
public
virtual
void
declare_dead
(
NIP
nip,
int
nodeid)
public
void
store
(
int
bouquet_numb,
HashMap
<
string
,
Neighbour
> detected_neighbours)
public
void
empty
()
No more radar. Deletes all neighbours. Updates internal data structures and notify about the changes.
public
void
going_add
(
Neighbour
neighbour)
Emits signal BEFORE a new neighbour.
public
void
going_delete
(
Neighbour
neighbour)
Emits signal BEFORE a dead neighbour.
public
void
going_rem_change
(
Neighbour
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,
Neighbour
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:
public
signal
void
neighbour_new
(
Neighbour
neighbour)
public
signal
void
neighbour_deleted
(
Neighbour
neighbour)
public
signal
void
neighbour_rem_chged
(
Neighbour
neighbour,
REM
old_rem)
public
signal
void
neighbour_going_new
(
Neighbour
neighbour)
public
signal
void
neighbour_going_deleted
(
Neighbour
neighbour)
public
signal
void
neighbour_going_rem_chged
(
Neighbour
neighbour)