X2AppServer.ned

NED File src/simu5g/x2/X2AppServer.ned

Name Type Description
X2AppServer simple module

Extends the INET's SctpServer application by adding an input gate to receive messages from the X2 Manager module. The X2AppServer module is responsible for handling messages from the X2 Manager and forwarding them to the peer's client X2App via the SCTP layer. It ensures that the messages are properly encapsulated in SCTP packets before being sent.

Source code

//
//                  Simu5G
//
// Copyright (C) 2012-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.
//

package simu5g.x2;

import inet.applications.sctpapp.SctpServer;

//
// Extends the INET's SctpServer application by adding
// an input gate to receive messages from the X2 Manager module.
// The X2AppServer module is responsible for handling messages
// from the X2 Manager and forwarding them to the peer's client X2App via
// the SCTP layer. It ensures that the messages are properly encapsulated
// in SCTP packets before being sent.
//
simple X2AppServer extends SctpServer
{
    parameters:
        @class("X2AppServer");
        string binderModule = default("binder");

    gates:
        input x2ManagerIn @labels(X2Msg);
}