AddressManager
Object Hierarchy:
Description:
public class AddressManager :
Object
,
IAddressManagerRootDispatcher
Namespace: Ntk.Core
Package: Netsukuku - vala port
Content:
Properties:
Creation methods:
Methods:
- protected virtual void _get_data_from_hook_reservation (
int
levels, int
gsize, HookReservation? hook_reservation, out NIP nip, out owned GNodeID[] id_myself, out owned CoordinatorKnowledgeSet coordinator_knowledge_set)
- public weak IBorderNodesManager _border_nodes_manager_getter ()
- public weak IMapRoute _maproute_getter ()
- public weak ITunnelManager _tunnel_manager_getter ()
- public weak IEtp _etp_getter ()
- public weak IHook _hook_getter ()
- public weak IAggregatedNeighbourManager _aggregated_neighbour_manager_getter ()
- public weak IPeerToPeerAll _peer_to_peer_all_getter ()
- public weak ICoord _coordnode_getter ()
- public IPeerToPeer get_peer_to_peer_service (
int
pid)
- public IOptionalPeerToPeer get_optional_peer_to_peer_service (
int
pid)
- public virtual IncomingNodes create_IncomingNodes ()
- public virtual MapRoute create_MapRoute (
int
levels, int
gsize, NIP nip, GNodeID[] id_myself)
- public virtual AggregatedNeighbourManager create_AggregatedNeighbourManager ()
- public virtual Etp create_Etp (AggregatedNeighbourManager aggregated_neighbour_manager, MapRoute maproute)
- public virtual PeerToPeerAll create_PeerToPeerAll (AggregatedNeighbourManager aggregated_neighbour_manager, MapRoute maproute)
- public virtual Coord create_Coord (AggregatedNeighbourManager aggregated_neighbour_manager, MapRoute maproute, PeerToPeerAll peer_to_peer_all, CoordinatorKnowledgeSet coordinator_knowledge_set)
- public virtual Counter create_Counter (KeyPair keypair, AggregatedNeighbourManager aggregated_neighbour_manager, MapRoute maproute, PeerToPeerAll peer_to_peer_all)
- public virtual Andna create_Andna (KeyPair keypair, Counter counter, AggregatedNeighbourManager aggregated_neighbour_manager, MapRoute maproute, PeerToPeerAll peer_to_peer_all)
- public virtual TunnelManager create_TunnelManager (
string
ipstr)
- public virtual Hook create_Hook (MapRoute maproute, Coord coord)
- public virtual BorderNodesManager create_BorderNodesManager (MapRoute maproute, AggregatedNeighbourManager aggregated_neighbour_manager, Coord coord)
- public virtual MigrationManager create_MigrationManager (MapRoute maproute, AggregatedNeighbourManager aggregated_neighbour_manager)
- public
string
report_status ()
- public
uint32
report_status_hash ()
- public AddressManagerFakeRmt get_broadcast_client ()
- public virtual
bool
do_i_act_as_gateway_for (NIP nip, int
nodeid, NetworkID netid)
This method can be overriden when we want to own an address with
which we want to be used as a gateway only by certain nodes. In its default implementation, we accept any node.
- public virtual
bool
do_i_act_as_gateway_for_local ()
This method can be overriden when we want to own an address with
which we do not want to be used as a gateway by other local addresses. In its default implementation, we accept them.
- public virtual
bool
do_i_participate_in_routing_tables ()
This method can be overriden when we do not want to be considered in
forming the kernel routing tables. In its default implementation returns True.
- public GNodeID[] get_gid_list ()
My GNode ID list
- public
int
get_my_id ()
My node ID
- public NetworkID get_main_netid ()
The netid of the uppermost level
- public
bool
is_in_my_network (NetworkID netid)
Is this netid in my network
- public
bool
is_preferred_network (NetworkID netid)
Is this netid preferred over mine
- public
bool
would_cause_split ()
- public
bool
would_prevent_removal ()
- public void start_operations (
int
delay = 0)
- public void stop_operations ()
- public void add_nic_manager (NetworkInterfaceManager nic_manager)
- public void remove_nic_manager (NetworkInterfaceManager nic_manager)
- public
string
to_string ()
Signals:
- public signal void routes_updated (HCoord lvl_pos)
- public signal void gnode_splitted (
List
<AggregatedNeighbour> passed_neighbour_list, List
<int
> queue_of_request_ids, GNodeID actual_gid)
- public signal void aggregated_neighbour_new (AggregatedNeighbour aggregated_neighbour)
- public signal void aggregated_neighbour_new_before (AggregatedNeighbour aggregated_neighbour)
- public signal void aggregated_neighbour_deleted (AggregatedNeighbour aggregated_neighbour)
- public signal void aggregated_neighbour_deleted_after (AggregatedNeighbour aggregated_neighbour)
- public signal void aggregated_neighbour_rem_chged (AggregatedNeighbour aggregated_neighbour, REM old_rem)
- public signal void aggregated_neighbour_rem_chged_before (AggregatedNeighbour aggregated_neighbour, REM old_rem)
- public signal void aggregated_neighbour_going_new (AggregatedNeighbour aggregated_neighbour)
- public signal void aggregated_neighbour_going_deleted (AggregatedNeighbour aggregated_neighbour)
- public signal void aggregated_neighbour_going_rem_chged (AggregatedNeighbour aggregated_neighbour)
- public signal void aggregated_neighbour_colliding_new (AggregatedNeighbour aggregated_neighbour)
- public signal void aggregated_neighbour_colliding_deleted (AggregatedNeighbour aggregated_neighbour)
- public signal void aggregated_neighbour_colliding_rem_chged (AggregatedNeighbour aggregated_neighbour, REM old_rem)
- public signal void aggregated_neighbour_colliding_going_new (AggregatedNeighbour aggregated_neighbour)
- public signal void aggregated_neighbour_colliding_going_deleted (AggregatedNeighbour aggregated_neighbour)
- public signal void aggregated_neighbour_colliding_going_rem_chged (AggregatedNeighbour aggregated_neighbour)
- public signal void net_collision (
List
<AggregatedNeighbour> others)
- public signal void sent_etp (NIP nip_caller, NetworkID netid_caller,
List
<string
> macs_caller, ExtendedTracerPacket etp)
- public signal void incoming_node_updated (
string
mac)
- public signal void counter_hooked ()
- public signal void andna_hooked ()
- public signal void counter_registered ()
- public signal void andna_registered ()
- public signal void sig_is_mature (AddressManager mature_addrman)
- public signal void is_primary_changed ()
- public signal void auxiliary_address_manager_new (AddressManager addrman)
- public signal void auxiliary_address_manager_deleted (AddressManager addrman)
- public signal void address_manager_new (HookReservation hook_reservation, AddressManager old_addr_man, ref AddressManager return_value)
- public signal void request_be_primary (AddressManager addrman)
- public signal void address_manager_delete (AddressManager addrman)
Fields: