#include <lte-rrc-header.h>
Public Member Functions | |
RrcConnectionReestablishmentRequestHeader () | |
~RrcConnectionReestablishmentRequestHeader () | |
uint32_t | Deserialize (Buffer::Iterator bIterator) |
LteRrcSap::RrcConnectionReestablishmentRequest | GetMessage () const |
LteRrcSap::ReestablishmentCause | GetReestablishmentCause () const |
LteRrcSap::ReestabUeIdentity | GetUeIdentity () const |
void | PreSerialize () const |
void | Print (std::ostream &os) const |
void | SetMessage (LteRrcSap::RrcConnectionReestablishmentRequest msg) |
![]() | |
RrcAsn1Header () | |
int | GetMessageType () |
![]() | |
Asn1Header () | |
virtual | ~Asn1Header () |
uint32_t | GetSerializedSize (void) const |
void | Serialize (Buffer::Iterator bIterator) const |
![]() | |
virtual | ~Header () |
Private Attributes | |
LteRrcSap::ReestablishmentCause | m_reestablishmentCause |
LteRrcSap::ReestabUeIdentity | m_ueIdentity |
Additional Inherited Members | |
![]() | |
static TypeId | GetTypeId (void) |
![]() | |
int | m_messageType |
Stores RRC message type, according to 3GPP TS 36.331. |
This class manages the serialization/deserialization of RRCConnectionReestablishmentRequest IE
Definition at line 526 of file lte-rrc-header.h.
ns3::RrcConnectionReestablishmentRequestHeader::RrcConnectionReestablishmentRequestHeader | ( | ) |
Definition at line 5162 of file lte-rrc-header.cc.
ns3::RrcConnectionReestablishmentRequestHeader::~RrcConnectionReestablishmentRequestHeader | ( | ) |
Definition at line 5166 of file lte-rrc-header.cc.
|
virtual |
start | an iterator which points to where the header should written. |
This method is used by Packet::RemoveHeader to re-create a header from the byte buffer of a packet. The data read is expected to match bit-for-bit the representation of this header in real networks.
Reimplemented from ns3::RrcUlCcchMessage.
Definition at line 5222 of file lte-rrc-header.cc.
References ns3::LteRrcSap::ReestabUeIdentity::cRnti, ns3::Asn1Header::DeserializeBitstring(), ns3::Asn1Header::DeserializeChoice(), ns3::Asn1Header::DeserializeEnum(), ns3::Asn1Header::DeserializeInteger(), ns3::Asn1Header::DeserializeSequence(), ns3::RrcUlCcchMessage::DeserializeUlCcchMessage(), ns3::Asn1Header::GetSerializedSize(), ns3::LteRrcSap::HANDOVER_FAILURE, m_reestablishmentCause, m_ueIdentity, ns3::LteRrcSap::OTHER_FAILURE, ns3::LteRrcSap::ReestabUeIdentity::physCellId, and ns3::LteRrcSap::RECONFIGURATION_FAILURE.
LteRrcSap::RrcConnectionReestablishmentRequest ns3::RrcConnectionReestablishmentRequestHeader::GetMessage | ( | ) | const |
Returns a RrcConnectionReestablishmentRequest IE from the values in the class attributes
Definition at line 5305 of file lte-rrc-header.cc.
References m_reestablishmentCause, m_ueIdentity, ns3::LteRrcSap::RrcConnectionReestablishmentRequest::reestablishmentCause, and ns3::LteRrcSap::RrcConnectionReestablishmentRequest::ueIdentity.
Referenced by ns3::LteEnbRrcProtocolReal::DoReceivePdcpPdu().
LteRrcSap::ReestablishmentCause ns3::RrcConnectionReestablishmentRequestHeader::GetReestablishmentCause | ( | ) | const |
Getter for m_reestablishmentCause
Definition at line 5321 of file lte-rrc-header.cc.
References m_reestablishmentCause.
LteRrcSap::ReestabUeIdentity ns3::RrcConnectionReestablishmentRequestHeader::GetUeIdentity | ( | ) | const |
Getter for m_ueIdentity
Definition at line 5315 of file lte-rrc-header.cc.
References m_ueIdentity.
|
virtual |
This function serializes class attributes to m_serializationResult local Buffer. As ASN1 encoding produces a bitstream that does not have a fixed length, this function is needed to store the result, so its length can be retrieved with Header::GetSerializedSize() function. This method is pure virtual in this class (needs to be implemented in child classes) as the meningful information elements are in the subclasses.
Reimplemented from ns3::RrcUlCcchMessage.
Definition at line 5171 of file lte-rrc-header.cc.
References ns3::LteRrcSap::ReestabUeIdentity::cRnti, ns3::Asn1Header::FinalizeSerialization(), ns3::LteRrcSap::HANDOVER_FAILURE, m_reestablishmentCause, ns3::Asn1Header::m_serializationResult, m_ueIdentity, ns3::LteRrcSap::OTHER_FAILURE, ns3::LteRrcSap::ReestabUeIdentity::physCellId, ns3::LteRrcSap::RECONFIGURATION_FAILURE, ns3::Asn1Header::SerializeBitstring(), ns3::Asn1Header::SerializeChoice(), ns3::Asn1Header::SerializeEnum(), ns3::Asn1Header::SerializeInteger(), ns3::Asn1Header::SerializeSequence(), and ns3::RrcUlCcchMessage::SerializeUlCcchMessage().
|
virtual |
os | output stream This method is used by Packet::Print to print the content of a trailer as ascii data to a c++ output stream. Although the trailer is free to format its output as it wishes, it is recommended to follow a few rules to integrate with the packet pretty printer: start with flags, small field values located between a pair of parens. Values should be separated by whitespace. Follow the parens with the important fields, separated by whitespace. i.e.: (field1 val1 field2 val2 field3 val3) field4 val4 field5 val5 |
Reimplemented from ns3::RrcUlCcchMessage.
Definition at line 5289 of file lte-rrc-header.cc.
References ns3::LteRrcSap::ReestabUeIdentity::cRnti, m_reestablishmentCause, m_ueIdentity, and ns3::LteRrcSap::ReestabUeIdentity::physCellId.
void ns3::RrcConnectionReestablishmentRequestHeader::SetMessage | ( | LteRrcSap::RrcConnectionReestablishmentRequest | msg | ) |
Receives a RrcConnectionReestablishmentRequest IE and stores the contents into the class attributes
msg | The information element to parse |
Definition at line 5297 of file lte-rrc-header.cc.
References ns3::Asn1Header::m_isDataSerialized, m_reestablishmentCause, m_ueIdentity, ns3::LteRrcSap::RrcConnectionReestablishmentRequest::reestablishmentCause, and ns3::LteRrcSap::RrcConnectionReestablishmentRequest::ueIdentity.
Referenced by ns3::RrcConnectionReestablishmentRequestTestCase::DoRun(), and ns3::LteUeRrcProtocolReal::DoSendRrcConnectionReestablishmentRequest().
|
private |
Definition at line 563 of file lte-rrc-header.h.
Referenced by Deserialize(), GetMessage(), GetReestablishmentCause(), PreSerialize(), Print(), and SetMessage().
|
private |
Definition at line 562 of file lte-rrc-header.h.
Referenced by Deserialize(), GetMessage(), GetUeIdentity(), PreSerialize(), Print(), and SetMessage().