OneM2M_Ports.ttcn 1.63 KB
Newer Older
1 2 3 4 5 6 7
/**
 *  Copyright Notification
 *  No part of this document may be reproduced, in an electronic retrieval system or otherwise, except as authorized by written permission.
 *  The copyright and the foregoing restriction extend to reproduction in all media.
 *  © 2016, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TSDSI, TTA, TTC).
 *  All rights reserved.
 *  
8
 *  @author     oneM2M/ETSI
9 10 11 12 13 14 15
 *  @desc       Port modules for oneM2M Test System       
 *
 */

module OneM2M_Ports {
	
	import from OneM2M_Types all;
16
	import from XSD all;
17
	/* ***************************************
18 19
	 * 		oneM2M Ports 
	 * ***************************************
20 21 22 23 24 25
	 */
	/**
	 * @desc Port to transport oneM2M primitives
	 * @desc Output MsgOut   
	 * @desc Input MsgIn 
	 * @desc this port is allowed to extend for futher usage  
26
	 * @desc e.g. extend OneM2MPort to dual-faced port
27 28 29 30 31 32
	 */
	type port OneM2MPort message {
		in 
			MsgIn;
		out 
			MsgOut;
33
		map param (in PortDesc p_portDesc);
34 35 36 37 38 39 40 41 42 43 44
	};
	
	/**
	 * @desc Port to transport Adaptor Control primitives
	 */
	type port AdapterControlPort message {
		in
			AcResponsePrimitive;
		out
			AcRequestPrimitive;
	}
45 46 47 48 49 50
	
	/**
	 * @desc Port to exchange information between components
	 */
	type port InfoPort message {
		in
51
			RequestPrimitive, ResponsePrimitive, PrimitiveContent, MyResource, integer, XSD.ID;
52
		out
53
			RequestPrimitive, ResponsePrimitive, PrimitiveContent, MyResource, integer, XSD.ID;
54 55
	}

56

57 58 59 60 61 62 63 64
	/**
	 * @desc Port to transport control commands to Upper Tester Application
	 */
	type port UpperTesterPort message {
		in 
			UtTriggerAckPrimitive;
		out 
			UtTriggerPrimitive; 
65
		map param (in UtDesc p_utDesc)
66 67
	}
	
68
}//end module