#include <lte-rrc-header.h>
Inheritance diagram for ns3::RrcConnectionReestablishmentHeader:
Collaboration diagram for ns3::RrcConnectionReestablishmentHeader:Public Member Functions | |
| RrcConnectionReestablishmentHeader () | |
| ~RrcConnectionReestablishmentHeader () | |
| uint32_t | Deserialize (Buffer::Iterator bIterator) |
| LteRrcSap::RrcConnectionReestablishment | GetMessage () const |
| LteRrcSap::RadioResourceConfigDedicated | GetRadioResourceConfigDedicated () const |
| uint8_t | GetRrcTransactionIdentifier () const |
| void | PreSerialize () const |
| void | Print (std::ostream &os) const |
| void | SetMessage (LteRrcSap::RrcConnectionReestablishment msg) |
Public Member Functions inherited from ns3::RrcAsn1Header | |
| RrcAsn1Header () | |
| int | GetMessageType () |
Public Member Functions inherited from ns3::Asn1Header | |
| Asn1Header () | |
| virtual | ~Asn1Header () |
| uint32_t | GetSerializedSize (void) const |
| void | Serialize (Buffer::Iterator bIterator) const |
Public Member Functions inherited from ns3::Header | |
| virtual | ~Header () |
Private Attributes | |
| LteRrcSap::RadioResourceConfigDedicated | m_radioResourceConfigDedicated |
| uint8_t | m_rrcTransactionIdentifier |
Additional Inherited Members | |
Static Protected Member Functions inherited from ns3::RrcAsn1Header | |
| static TypeId | GetTypeId (void) |
Protected Attributes inherited from ns3::RrcAsn1Header | |
| int | m_messageType |
| Stores RRC message type, according to 3GPP TS 36.331. | |
This class manages the serialization/deserialization of RrcConnectionReestablishment IE
Definition at line 569 of file lte-rrc-header.h.
| ns3::RrcConnectionReestablishmentHeader::RrcConnectionReestablishmentHeader | ( | ) |
Definition at line 5461 of file lte-rrc-header.cc.
| ns3::RrcConnectionReestablishmentHeader::~RrcConnectionReestablishmentHeader | ( | ) |
Definition at line 5465 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::RrcDlCcchMessage.
Definition at line 5504 of file lte-rrc-header.cc.
References ns3::Asn1Header::DeserializeChoice(), ns3::RrcDlCcchMessage::DeserializeDlCcchMessage(), ns3::Asn1Header::DeserializeInteger(), ns3::Asn1Header::DeserializeNull(), ns3::RrcAsn1Header::DeserializeRadioResourceConfigDedicated(), ns3::Asn1Header::DeserializeSequence(), ns3::Asn1Header::GetSerializedSize(), m_radioResourceConfigDedicated, and m_rrcTransactionIdentifier.
Here is the call graph for this function:| LteRrcSap::RrcConnectionReestablishment ns3::RrcConnectionReestablishmentHeader::GetMessage | ( | ) | const |
Returns a RrcConnectionReestablishment IE from the values in the class attributes
Definition at line 5571 of file lte-rrc-header.cc.
References m_radioResourceConfigDedicated, m_rrcTransactionIdentifier, ns3::LteRrcSap::RrcConnectionReestablishment::radioResourceConfigDedicated, and ns3::LteRrcSap::RrcConnectionReestablishment::rrcTransactionIdentifier.
Referenced by ns3::LteUeRrcProtocolReal::DoReceivePdcpPdu().
Here is the caller graph for this function:| LteRrcSap::RadioResourceConfigDedicated ns3::RrcConnectionReestablishmentHeader::GetRadioResourceConfigDedicated | ( | ) | const |
Getter for m_radioResourceConfigDedicated attribute
Definition at line 5586 of file lte-rrc-header.cc.
References m_radioResourceConfigDedicated.
| uint8_t ns3::RrcConnectionReestablishmentHeader::GetRrcTransactionIdentifier | ( | ) | const |
Getter for m_rrcTransactionIdentifier attribute
Definition at line 5580 of file lte-rrc-header.cc.
References m_rrcTransactionIdentifier.
|
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::RrcDlCcchMessage.
Definition at line 5470 of file lte-rrc-header.cc.
References ns3::Asn1Header::FinalizeSerialization(), m_radioResourceConfigDedicated, m_rrcTransactionIdentifier, ns3::Asn1Header::m_serializationResult, ns3::Asn1Header::SerializeChoice(), ns3::RrcDlCcchMessage::SerializeDlCcchMessage(), ns3::Asn1Header::SerializeInteger(), ns3::RrcAsn1Header::SerializeRadioResourceConfigDedicated(), and ns3::Asn1Header::SerializeSequence().
Here is the call graph for this function:
|
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::RrcDlCcchMessage.
Definition at line 5555 of file lte-rrc-header.cc.
References m_radioResourceConfigDedicated, and m_rrcTransactionIdentifier.
| void ns3::RrcConnectionReestablishmentHeader::SetMessage | ( | LteRrcSap::RrcConnectionReestablishment | msg | ) |
Receives a RrcConnectionReestablishment IE and stores the contents into the class attributes
| msg | The information element to parse |
Definition at line 5563 of file lte-rrc-header.cc.
References ns3::Asn1Header::m_isDataSerialized, m_radioResourceConfigDedicated, m_rrcTransactionIdentifier, ns3::LteRrcSap::RrcConnectionReestablishment::radioResourceConfigDedicated, and ns3::LteRrcSap::RrcConnectionReestablishment::rrcTransactionIdentifier.
Referenced by ns3::RrcConnectionReestablishmentTestCase::DoRun(), and ns3::LteEnbRrcProtocolReal::DoSendRrcConnectionReestablishment().
Here is the caller graph for this function:
|
private |
Definition at line 606 of file lte-rrc-header.h.
Referenced by Deserialize(), GetMessage(), GetRadioResourceConfigDedicated(), PreSerialize(), Print(), and SetMessage().
|
private |
Definition at line 605 of file lte-rrc-header.h.
Referenced by Deserialize(), GetMessage(), GetRrcTransactionIdentifier(), PreSerialize(), Print(), and SetMessage().