NED File src/applications/almtest/ALMTest.ned

Name Type Description
ALMTest simple module (no description)
ALMTestModule compound module (no description)

Source code:

package oversim.applications.almtest;

import oversim.common.BaseApp;
import oversim.common.ITier;


simple ALMTest extends BaseApp
{
    parameters:
        @class(ALMTest);
        bool joinGroups = default(true);
        int messageLength;
        bool sendMessages = default(true);
}

module ALMTestModule like ITier
{
    gates:
        input udpIn;
        input from_lowerTier;
        input from_upperTier;
        input tcpIn;  
        output tcpOut;
        output udpOut;
        output to_lowerTier;
        output to_upperTier;

    submodules:
        almTest: ALMTest;
    connections allowunconnected:
        from_lowerTier --> almTest.from_lowerTier;
        to_lowerTier <-- almTest.to_lowerTier;
        from_upperTier --> almTest.from_upperTier;
        to_upperTier <-- almTest.to_upperTier;
        udpIn --> almTest.udpIn;
        udpOut <-- almTest.udpOut;

}