Package: simu5g.apps.mec.MecApps
MultiUEMECApp
simple moduleThis is an empty MEC app which is used as a model for MEC apps that should be shared among multiple UEs. Any shared MEC app that should extend this app
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
packetSize | int | 10B | |
interfaceTableModule | string | "" | |
mecAppIndex | int | ||
mecAppId | int | ||
localUePort | int | ||
mp1Address | string | "" | |
mp1Port | int | 10021 |
resource required info |
requiredRam | double | ||
requiredDisk | double | ||
requiredCpu | double | ||
timeToLive | int | -1 |
IApp parameters |
dscp | int | -1 |
if not -1, set the DSCP (IPv4/IPv6) field of sent packets to this value |
tos | int | -1 |
if not -1, set the Type Of Service (IPv4) / Traffic Class (IPv6) field of sent packets to this value |
logger | bool | false |
Properties
Name | Value | Description |
---|---|---|
class | simu5g::MultiUEMECApp | |
display | i=block/app;is=s |
Gates
Name | Direction | Size | Description |
---|---|---|---|
mePlatformIn | input | ||
mePlatformOut | output | ||
socketIn | input | ||
socketOut | output |
Source code
// // This is an empty MEC app which is used as a model for MEC apps that should // be shared among multiple UEs. Any shared MEC app that should extend this app simple MultiUEMECApp like IMECApp, IApp { parameters: @class(simu5g::MultiUEMECApp); @display("i=block/app;is=s"); int packetSize @unit(B) = default(10B); string interfaceTableModule = default(""); int mecAppIndex; int mecAppId; int localUePort; string mp1Address = default(""); int mp1Port = default(10021); //resource required info double requiredRam @unit("B"); double requiredDisk @unit("B"); double requiredCpu; // IApp parameters int timeToLive = default(-1); // if not -1, set the TTL (IPv4) or Hop Limit (IPv6) field of sent packets to this value int dscp = default(-1); // if not -1, set the DSCP (IPv4/IPv6) field of sent packets to this value int tos = default(-1); // if not -1, set the Type Of Service (IPv4) / Traffic Class (IPv6) field of sent packets to this value bool logger = default(false); gates: input mePlatformIn; output mePlatformOut; input socketIn; output socketOut; }File: src/apps/mec/MecApps/MultiUEMECApp.ned