IProtocolLayer.ned

NED File src/inet/protocolelement/contract/IProtocolLayer.ned

Name Type Description
IProtocolLayer module interface

This module interface is implemented by all protocol layer modules that connect to a higher and to a lower protocol layer, both of which is optional.

Source code

//
// Copyright (C) 2020 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.protocolelement.contract;

//
// This module interface is implemented by all protocol layer modules that
// connect to a higher and to a lower protocol layer, both of which is optional.
//
moduleinterface IProtocolLayer
{
    parameters:
        @omittedTypename(OmittedProtocolLayer);
        @display("i=block/layer");
    gates:
        input upperLayerIn;
        output upperLayerOut;
        input lowerLayerIn;
        output lowerLayerOut;
}