Ntk.Core.NetworkID Reference Manual
Packages
Netsukuku - vala port
Ntk
Core
NetworkID
NetworkID
deserialize_from_variant
is_preferred_over
is_same_network
is_strictly_equal
report_status
report_status_hash
serialize_to_variant
to_string
NetworkID
Object Hierarchy:
Description:
public
class
NetworkID
:
Object
,
ISerializable
Network I.D. It is a set of GNodeid of uppermost level
Namespace:
Ntk.Core
Package:
Netsukuku - vala port
Content:
Creation methods:
public
NetworkID
(
List
<
GNodeID
> gnodeids)
Methods:
public
Variant
serialize_to_variant
()
public
void
deserialize_from_variant
(
Variant
v)
throws
SerializerError
public
bool
is_same_network
(
NetworkID
other)
Compares two Networkid to see if they belong to the same network. True iff some items match. It is not needed to look for the "will_bubble" one; that would even be a risk in the early stage of a hook.
public
bool
is_preferred_over
(
NetworkID
other)
When 2 NetworkID are not on the same network use this method to see which one has to be preferred (the other one will rehook)
public
bool
is_strictly_equal
(
NetworkID
other)
Use to see iff a netid has changed
public
string
to_string
()
public
string
report_status
()
public
uint32
report_status_hash
()