NetworkInterface.
More...
#include <NetworkInterface.h>
template<class NetworkType>
class m2etis::net::NetworkInterface< NetworkType >
NetworkInterface.
Long Desc
Definition at line 45 of file NetworkInterface.h.
template<class NetworkType>
template<class NetworkType>
template<class NetworkType>
register a messagetype. Only registered types are sent.
- Parameters
-
[in] | type | a number > 10 |
[in] | ack | true if messages with this type should be acknowleged in network layer |
Implemented in m2etis::sim::OmNetMediator.
template<class NetworkType>
Sends a message to the node which is responsible for the given key. Provide a hint for better routing.
- Parameters
-
[in] | msg | The Message to send |
[in] | hint | The additional hint for routing, may be null |
template<class NetworkType>
Sets the callback-object on which the defined callbacks will be called.
- Parameters
-
[in] | cb | The callback pointer |
Definition at line 54 of file NetworkInterface.h.
template<class NetworkType>
returns an array of count neighbor nodes with priority to closer nodes.
- Parameters
-
Definition at line 93 of file NetworkInterface.h.
The documentation for this class was generated from the following file: