Demultiplexes IPv6 extensions. More...
#include <ipv6-extension-demux.h>
Public Member Functions | |
Ipv6ExtensionDemux () | |
Constructor. | |
virtual | ~Ipv6ExtensionDemux () |
Destructor. | |
void | SetNode (Ptr< Node > node) |
Set the node. | |
void | Insert (Ptr< Ipv6Extension > extension) |
Insert a new IPv6 Extension. | |
Ptr< Ipv6Extension > | GetExtension (uint8_t extensionNumber) |
Get the extension corresponding to extensionNumber. | |
void | Remove (Ptr< Ipv6Extension > extension) |
Remove an extension from this demux. | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
The interface ID. | |
Protected Member Functions | |
virtual void | DoDispose () |
Dispose object. |
Demultiplexes IPv6 extensions.
Ptr<Ipv6Extension> ns3::Ipv6ExtensionDemux::GetExtension | ( | uint8_t | extensionNumber | ) |
Get the extension corresponding to extensionNumber.
extensionNumber | extension number of the extension to retrieve |
static TypeId ns3::Ipv6ExtensionDemux::GetTypeId | ( | void | ) | [static] |
The interface ID.
This method returns the TypeId associated to ns3::Ipv6ExtensionDemux.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::Object.
void ns3::Ipv6ExtensionDemux::Insert | ( | Ptr< Ipv6Extension > | extension | ) |
Insert a new IPv6 Extension.
extension | the extension to insert |
void ns3::Ipv6ExtensionDemux::Remove | ( | Ptr< Ipv6Extension > | extension | ) |
Remove an extension from this demux.
extension | pointer on the extension to remove |
Set the node.
node | the node to set |