OneM2M_Ports.ttcn 1.34 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
/**
 *  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.
 *  
 *  @author     oneM2M
 *  @version    
 *  @desc       Port modules for oneM2M Test System       
 *
 */

module OneM2M_Ports {
	
	import from OneM2M_Types all;
	/* ***************************************
 	 * 		oneM2M Ports 
  	 * ***************************************
	 */
	/**
	 * @desc Port to transport oneM2M primitives
	 * @desc Output MsgOut   
	 * @desc Input MsgIn 
	 * @desc this port is allowed to extend for futher usage  
     * @desc e.g. extend OneM2MPort to dual-faced port
	 */
	type port OneM2MPort message {
		in 
			MsgIn;
		out 
			MsgOut;
	};
	
	/**
	 * @desc Port to transport Adaptor Control primitives
	 */
	type port AdapterControlPort message {
		in
			AcResponsePrimitive;
		out
			AcRequestPrimitive;
	}
44 45 46 47 48 49
	
	/**
	 * @desc Port to exchange information between components
	 */
	type port InfoPort message {
		in
50
			RequestPrimitive, ResponsePrimitive, PrimitiveContent, MyResource;
51
		out
52
			RequestPrimitive, ResponsePrimitive, PrimitiveContent, MyResource;
53
	}
54 55

}//end module