RLRP routing
v.0.1.0
|
Hello service message. More...
Public Member Functions | |
def | __init__ (self) |
Constructor. More... | |
def | __str__ (self) |
Default print method. More... | |
Public Attributes | |
ipv4_count | |
Amount of unicast IPv4 addresses, assigned to the virtual network interface. More... | |
ipv6_count | |
Amount of unicast IPv6 addresses, assigned to the virtual network interface. More... | |
ipv4_address | |
IPv4 address in string representation. More... | |
ipv6_addresses | |
List of all assigned IPv6 addresses, in string representation. More... | |
tx_count | |
Number of message rebroadcast times. More... | |
Static Public Attributes | |
int | type = 6 |
Type ID of Hello service message. More... | |
Hello service message.
def Messages.HelloMessage.__init__ | ( | self | ) |
Constructor.
self | The object pointer. |
def Messages.HelloMessage.__str__ | ( | self | ) |
Default print method.
self | The object pointer. |
Messages.HelloMessage.ipv4_address |
IPv4 address in string representation.
If no IPv4 address is assigned to the network interface, the variable contains empty string "".
Messages.HelloMessage.ipv4_count |
Amount of unicast IPv4 addresses, assigned to the virtual network interface.
There can be only one IPv4 addressed assigned to the network interface, therefore, all possible values of this variable are: 0 - no IPv4 address assigned, 1 - IPv4 address is assigned.
Messages.HelloMessage.ipv6_addresses |
List of all assigned IPv6 addresses, in string representation.
If no IPv6 addresses are assigned to the network interface, the variable contains empty list [].
Messages.HelloMessage.ipv6_count |
Amount of unicast IPv6 addresses, assigned to the virtual network interface.
In the current implementation of Messages.HelloHeader, there could be assigned up to 3 IPv6 addresses, which can then be transmitted inside the Hello message. All possible values are: 0 - no IPv6 address assigned. 1 - 1 IPv6 address is assigned. 2 - 2 IPv6 address is assigned. 3 - 3 IPv6 address is assigned.
Messages.HelloMessage.tx_count |
Number of message rebroadcast times.
Contains a number of times this particular Hello message has been rebroadcasted at the current moment.
|
static |
Type ID of Hello service message.