LteX2Message

Namespace: simu5g

class LteX2Message

This is the X2 message flowing through X2 interface. It contains a vector of Information Elements (see LteX2Message.h), the total length of the message and the type of the message

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

FieldsChunk ↗

class

(no description)

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

chunkLength

FIXME needs to be checked: realistic chunk length without X2 information elements? Must at least be 11 Bytes for serialization: Type (1 B), sourceId (4 B), destinationId (4 B), IE list size (2 B))

sourceId

MacNodeId

destinationId

MacNodeId

type

LteX2MessageType

type of the X2 message

msgLength

int64_t

Size of the X2 message

ie

X2InformationElement*[]

List of X2 IEs

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// This is the X2 message flowing through X2 interface.
// It contains a vector of Information Elements (see LteX2Message.h),
// the total length of the message and the type of the message
//
class LteX2Message extends inet::FieldsChunk
{
    chunkLength = inet::B(11); // FIXME needs to be checked:
                               // realistic chunk length without X2 information elements?
                               // Must at least be 11 Bytes for serialization:
                               // Type (1 B), sourceId (4 B), destinationId (4 B), IE list size (2 B))
    MacNodeId sourceId;
    MacNodeId destinationId;

    /// type of the X2 message
    LteX2MessageType type = X2_UNKNOWN_MSG;

    /// Size of the X2 message
    int64_t msgLength = 0;

    /// List of X2 IEs
    X2InformationElement* ie[] @owned;
}

File: src/simu5g/x2/packet/LteX2Message.msg