Switch to unified view

a/src/CS/Host1AP.ned b/src/CS/Host1AP.ned
1
// The MIT License (MIT)
1
//
2
//
2
// This program is free software: you can redistribute it and/or modify
3
// Copyright (c) 2014-2016 Brno University of Technology, PRISTINE project
3
// it under the terms of the GNU Lesser General Public License as published by
4
// the Free Software Foundation, either version 3 of the License, or
5
// (at your option) any later version.
6
// 
4
//
7
// This program is distributed in the hope that it will be useful,
5
// Permission is hereby granted, free of charge, to any person obtaining a copy
8
// but WITHOUT ANY WARRANTY; without even the implied warranty of
6
// of this software and associated documentation files (the "Software"), to deal
9
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7
// in the Software without restriction, including without limitation the rights
10
// GNU Lesser General Public License for more details.
8
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
// copies of the Software, and to permit persons to whom the Software is
10
// furnished to do so, subject to the following conditions:
11
// 
11
//
12
// You should have received a copy of the GNU Lesser General Public License
12
// The above copyright notice and this permission notice shall be included in
13
// along with this program.  If not, see http://www.gnu.org/licenses/.
13
// all copies or substantial portions of the Software.
14
// 
14
//
15
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
// THE SOFTWARE.
15
22
16
//
23
//
17
// <h1>Host with one Application Process</h1> 
24
// <h1>Host with one Application Process</h1> 
18
//
25
//
19
// This models simulates host node that has two different rank DIFs:
26
// This models simulates host node that has two different rank DIFs:
...
...
25
//
32
//
26
// @author Vladimir Vesely (ivesely@fit.vutbr.cz)
33
// @author Vladimir Vesely (ivesely@fit.vutbr.cz)
27
// @date Last refactorized and documented on 2015-01-12
34
// @date Last refactorized and documented on 2015-01-12
28
35
29
36
30
package rina.CS;
37
package rina.src.CS;
31
38
32
import rina.Common.Test;
39
import rina.src.Common.Test;
33
import rina.DAF.ApplicationProcess;
40
import rina.src.DAF.ApplicationProcess;
34
import rina.DAF.DA.DIFAllocator;
41
import rina.src.DAF.DA.DIFAllocator;
35
import rina.DAF.IRM.IPCResourceManager;
42
import rina.src.DAF.IRM.IPCResourceManager;
36
import rina.DIF.IPCProcess;
43
import rina.src.DIF.IPCProcess;
37
//import rina.DIF.EFCP.DTP.PushBackChannel;
44
//import rina.src.DIF.EFCP.DTP.PushBackChannel;
38
45
39
46
40
module Host1AP
47
module Host1AP
41
{
48
{
42
    parameters:
49
    parameters: