Parent: [6ccca6] (diff)

Child: [b323f7] (diff)

Download this file

IPCProcess.ned    64 lines (58 with data), 1.9 kB

//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
// 
// You should have received a copy of the GNU Lesser General Public License
// along with this program.  If not, see http://www.gnu.org/licenses/.
// 

package rina.DIF;


import rina.Common.Test;
import rina.DAF.CDAP.CommonDistributedApplicationProtocol;
import rina.DIF.EFCP.EFCPModule;
import rina.DIF.Enrollment.Enrollment;
import rina.DIF.FA.FlowAllocator;
import rina.DIF.RA.ResourceAllocator;
import rina.DIF.RIB.RIBDaemon;
import rina.DIF.RMT.RelayAndMux;

module IPCProcess
{
    parameters:
        @display("bgb=457,307;i=misc/square,#FF8000,50");
        string ipcAddress;
        string difName;
        string apName = default(ipcAddress + "_" + difName);
        bool relay = default(false);
        //int    rank;        
    gates:
        inout southIo[];
        inout northIo[];
        //inout test;
    submodules:
        flowAllocator: FlowAllocator {
            @display("p=167,50");
        }
        relayAndMux: RelayAndMux {
            @display("p=79,249;i=block/dispatch");
        }
        ribDaemon: RIBDaemon {
            @display("p=238,147");
        }

        efcp: EFCPModule {
            @display("p=79,50");
        }
        resourceAllocator: ResourceAllocator {
            @display("p=390,195");
        }
        enrollment: Enrollment {
            @display("p=390,100");
        }
    connections allowunconnected:
        relayAndMux.ribdIo <--> ribDaemon.rmtIo;
}