MSG File src/simu5g/apps/mec/DeviceApp/messages/DeviceAppPacket.msg

Name

Type

Description

DeviceAppPacket

class

(no description)

DeviceAppStartPacket

class

(no description)

DeviceAppStopPacket

class

(no description)

DeviceAppStartAckPacket

class

(no description)

DeviceAppStopAckPacket

class

(no description)

Source code

//
//                  Simu5G
//
// Copyright (C) 2019-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa)
// Copyright (C) 2022-2026 Giovanni Nardini, Giovanni Stea et al. (University of Pisa)
//
// This file is part of a software released under the license included in file
// "license.pdf". Please read LICENSE and README files before using it.
// The above files and the present reference are part of the software itself,
// and cannot be removed from it.
//


import inet.common.INETDefs;
import inet.common.packet.chunk.Chunk;

import simu5g.mec.platform.MecPackets;

namespace simu5g;

class DeviceAppPacket extends MecPacket {
//    unsigned int sno;
//    simtime_t timestamp;
//
//    //type of message
//    string type;
//    string operation;
}

class DeviceAppStartPacket extends DeviceAppPacket
{
    string mecAppDId;
     string mecAppName;
     string mecAppProvider;
     string appPackageSource;
    // determines whether the instantiated app should be unique for every UE or shared among them
    bool shared = false;
    // if the MEC app is shared, determines which DevAppId should be used
    int associateDevAppId = -1;
}

class DeviceAppStopPacket extends DeviceAppPacket
{
    string contextId;
}

class DeviceAppStartAckPacket extends DeviceAppPacket
{
    string contextId;
    bool result;
    string ipAddress;
    string reason;
     int port;
}

class DeviceAppStopAckPacket extends DeviceAppPacket
{
    bool result;
    string reason;
}