This control message is used to inform the UT it has to subscribe to a new slice. More...
#include "satellite-control-message.h"
Public Member Functions | |
SatSliceSubscriptionMessage () | |
Constructor for SatRaMessage. More... | |
~SatSliceSubscriptionMessage () | |
Destructor for SatRaMessage. More... | |
Mac48Address | GetAddress () const |
Get the ddress associated to this slice. More... | |
virtual TypeId | GetInstanceTypeId (void) const |
Get the type ID of instance. More... | |
SatControlMsgTag::SatControlMsgType_t | GetMsgType () const |
Get type of the message. More... | |
virtual uint32_t | GetSizeInBytes () const |
Get real size of the message. More... | |
uint32_t | GetSliceId () const |
Get the new slice to subscribe. More... | |
void | SetAddress (Mac48Address address) |
Set the address associated to this slice. More... | |
void | SetSliceId (uint8_t sliceId) |
Set the new slice to subscribe. More... | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
methods derived from base classes More... | |
Private Attributes | |
Mac48Address | m_address |
Address associated to this slice. More... | |
uint8_t | m_sliceId |
New slice to subscribe. More... | |
This control message is used to inform the UT it has to subscribe to a new slice.
(Tagged by SatControlMsgTag with type value SAT_SLICE_CTRL_MSG)
Definition at line 961 of file satellite-control-message.h.
ns3::SatSliceSubscriptionMessage::SatSliceSubscriptionMessage | ( | ) |
Constructor for SatRaMessage.
Definition at line 858 of file satellite-control-message.cc.
ns3::SatSliceSubscriptionMessage::~SatSliceSubscriptionMessage | ( | ) |
Destructor for SatRaMessage.
Definition at line 864 of file satellite-control-message.cc.
Mac48Address ns3::SatSliceSubscriptionMessage::GetAddress | ( | void | ) | const |
Get the ddress associated to this slice.
Definition at line 883 of file satellite-control-message.cc.
References m_address.
|
virtual |
Get the type ID of instance.
Definition at line 851 of file satellite-control-message.cc.
References GetTypeId().
|
inlinevirtual |
Get type of the message.
Implements ns3::SatControlMessage.
Definition at line 990 of file satellite-control-message.h.
References ns3::SatControlMsgTag::SAT_SLICE_CTRL_MSG.
|
virtual |
Get real size of the message.
Implements ns3::SatControlMessage.
Definition at line 895 of file satellite-control-message.cc.
uint32_t ns3::SatSliceSubscriptionMessage::GetSliceId | ( | ) | const |
Get the new slice to subscribe.
Zero means reset the slices already subscribed.
Definition at line 877 of file satellite-control-message.cc.
References m_sliceId.
|
static |
methods derived from base classes
Definition at line 842 of file satellite-control-message.cc.
Referenced by GetInstanceTypeId().
void ns3::SatSliceSubscriptionMessage::SetAddress | ( | Mac48Address | address | ) |
Set the address associated to this slice.
address | The MAC address |
Definition at line 889 of file satellite-control-message.cc.
References m_address.
void ns3::SatSliceSubscriptionMessage::SetSliceId | ( | uint8_t | sliceId | ) |
Set the new slice to subscribe.
Zero means reset the slices already subscribed.
sliceId | The new slice id |
Definition at line 870 of file satellite-control-message.cc.
References m_sliceId.
|
private |
Address associated to this slice.
Definition at line 1034 of file satellite-control-message.h.
Referenced by GetAddress(), and SetAddress().
|
private |
New slice to subscribe.
Zero means reset the slices already subscribed.
Definition at line 1029 of file satellite-control-message.h.
Referenced by GetSliceId(), and SetSliceId().