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. | |
| ~SatSliceSubscriptionMessage () | |
| Destructor for SatRaMessage. | |
| Mac48Address | GetAddress () const |
| Get the ddress associated to this slice. | |
| SatControlMsgTag::SatControlMsgType_t | GetMsgType () const |
| Get type of the message. | |
| virtual uint32_t | GetSizeInBytes () const |
| Get real size of the message. | |
| uint32_t | GetSliceId () const |
| Get the new slice to subscribe. | |
| void | SetAddress (Mac48Address address) |
| Set the address associated to this slice. | |
| void | SetSliceId (uint8_t sliceId) |
| Set the new slice to subscribe. | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| methods derived from base classes | |
Private Attributes | |
| Mac48Address | m_address |
| Address associated to this slice. | |
| uint8_t | m_sliceId |
| New slice to subscribe. | |
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 919 of file satellite-control-message.h.
| ns3::SatSliceSubscriptionMessage::SatSliceSubscriptionMessage | ( | ) |
Constructor for SatRaMessage.
Definition at line 794 of file satellite-control-message.cc.
References m_sliceId.
| ns3::SatSliceSubscriptionMessage::~SatSliceSubscriptionMessage | ( | ) |
Destructor for SatRaMessage.
Definition at line 800 of file satellite-control-message.cc.
| Mac48Address ns3::SatSliceSubscriptionMessage::GetAddress | ( | ) | const |
Get the ddress associated to this slice.
Definition at line 819 of file satellite-control-message.cc.
References m_address.
|
inlinevirtual |
Get type of the message.
Implements ns3::SatControlMessage.
Definition at line 942 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 831 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 813 of file satellite-control-message.cc.
References m_sliceId.
|
static |
methods derived from base classes
Definition at line 786 of file satellite-control-message.cc.
References ns3::SatControlMessage::SatControlMessage().
| void ns3::SatSliceSubscriptionMessage::SetAddress | ( | Mac48Address | address | ) |
Set the address associated to this slice.
| address | The MAC address |
Definition at line 825 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 806 of file satellite-control-message.cc.
References m_sliceId.
|
private |
Address associated to this slice.
Definition at line 986 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 981 of file satellite-control-message.h.
Referenced by SatSliceSubscriptionMessage(), GetSliceId(), and SetSliceId().