Ntk.Core.Hook Reference Manual
Packages
Netsukuku - vala port
Ntk
Core
Hook
Hook
hook
list_non_saturated_levels
Hook
Object Hierarchy:
Description:
public
class
Hook
:
Object
,
IHook
Class Hook
All known sub-classes:
AuxiliaryHook
BnodeTunnelingHook
Namespace:
Ntk.Core
Package:
Netsukuku - vala port
Content:
Creation methods:
public
Hook
(
MapRoute
maproute,
Coord
coord,
AddressManager
addr_man)
Methods:
public
HookReservation
hook
(
List
<
AggregatedNeighbour
> neighbour_list)
throws
HookingError
The method returns a new valid address. It could be in the current network or in another network. We try to hook among the given neighbours.
public
List
<
PairLvlNumberOfFreeNodes
>
list_non_saturated_levels
()
Returns a list of (lvl, number_of_free_nodes_at_lvl)