OneM2M_Ports.ttcn 1.65 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
9 10 11 12 13 14 15 16
 *  @version    
 *  @desc       Port modules for oneM2M Test System       
 *
 */

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

57

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