IPv6 Option Demux. More...
#include <ipv6-option-demux.h>
Public Member Functions | |
Ipv6OptionDemux () | |
Constructor. | |
virtual | ~Ipv6OptionDemux () |
Destructor. | |
void | SetNode (Ptr< Node > node) |
Set the node. | |
void | Insert (Ptr< Ipv6Option > option) |
Insert a new IPv6 Option. | |
Ptr< Ipv6Option > | GetOption (int optionNumber) |
Get the option corresponding to optionNumber. | |
void | Remove (Ptr< Ipv6Option > option) |
Remove an option from this demux. | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
The interface ID. | |
Protected Member Functions | |
virtual void | DoDispose () |
Dispose this object. |
IPv6 Option Demux.
Ptr<Ipv6Option> ns3::Ipv6OptionDemux::GetOption | ( | int | optionNumber | ) |
Get the option corresponding to optionNumber.
optionNumber | the option number of the option to retrieve |
static TypeId ns3::Ipv6OptionDemux::GetTypeId | ( | void | ) | [static] |
The interface ID.
This method returns the TypeId associated to ns3::Ipv6OptionDemux.
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::Ipv6OptionDemux::Insert | ( | Ptr< Ipv6Option > | option | ) |
Insert a new IPv6 Option.
option | the option to insert |
void ns3::Ipv6OptionDemux::Remove | ( | Ptr< Ipv6Option > | option | ) |
Remove an option from this demux.
option | pointer on the option to remove |
Set the node.
node | the node to set |