DsrNode class

Constructors

DsrNode(int id)

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
final
neighbors Set<int>
final
onDeliver ↔ void Function(int from, int to, dynamic payload)?
getter/setter pair
routeCache Map<int, List<int>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seenRREQ Set<String>
final
sendHook ↔ void Function(int from, int to, dynamic msg)?
getter/setter pair

Methods

addNeighbor(int nid) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
receive(int from, dynamic msg) → void
send(int dest, dynamic payload) → void
tick() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited