EMANE
1.2.1
|
Store source, destination, creation time and priority information for a packet. More...
#include <packetinfo.h>
Public Member Functions | |
PacketInfo (NEMId source, NEMId destination, Priority priority, TimePoint creationTime) | |
PacketInfo (NEMId source, NEMId destination, Priority priority, TimePoint creationTime, const uuid_t &uuid) | |
~PacketInfo () | |
NEMId | getSource () const |
NEMId | getDestination () const |
Priority | getPriority () const |
TimePoint | getCreationTime () const |
const uuid_t & | getUUID () const |
Store source, destination, creation time and priority information for a packet.
Definition at line 50 of file packetinfo.h.
|
inline |
Creates a PacketInfo instance
source | The src NEM |
destination | The destination NEM |
priority | The priority |
creationTime | Creation time of the packet |
Definition at line 34 of file packetinfo.inl.
|
inline |
Creates a PacketInfo instance
source | The src NEM |
destination | The destination NEM |
priority | The priority |
creationTime | Creation time of the packet |
uuid | Application UUID (upstream only) |
Definition at line 47 of file packetinfo.inl.
|
inline |
Destroys an instance
Definition at line 61 of file packetinfo.inl.
|
inline |
|
inline |
Gets the destination
Definition at line 70 of file packetinfo.inl.
|
inline |
|
inline |
|
inline |