Commit 362d4bf9 authored by poglitsch's avatar poglitsch
Browse files

adapter port added to mtc component

mapping function added for mtc
parent 152d5c03
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -31,6 +31,22 @@ module LibIot_TestConfiguration {
		disconnect(self:vPort, p_client:vPort);
	}
	
	/**
	 * 
	 * @desc initialize the adapter port of MTC
	 */
	function f_cf_adapter_up() runs on TestCoordinator {
		map(self:aPort, system:aPort);
	}
	
	/**
	 * 
	 * @desc uninitialize the adapter port of MTC
	 */
	function f_cf_adapter_down() runs on TestCoordinator {
		unmap(self:aPort, system:aPort);
	}
	
	/**
	 * 
	 * @desc initialize trigger component ports
+4 −2
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ module LibIot_TestInterface {
		port MonitorPort mPort;
		port EutConfigPort dcPort;
		port TriggerPort tPort;
		port AdapterPort aPort;
	}
	
	group abstractTestComponents {
@@ -37,6 +38,7 @@ module LibIot_TestInterface {
		type component TestCoordinator extends OracleServer {
			var ComponentIdList vc_compIds;
			port MsgExchangePort xPort;
			port AdapterPort aPort;
		}
    	
		/**
@@ -90,11 +92,11 @@ module LibIot_TestInterface {
		}
		
		type port MsgExchangePort message {
			inout SipMessage;	
			inout SipMessage; // TODO change this, LibIot should be independent
		}
		
		type port MonitorPort message {
			in  Request, Response; 
			in  Request, Response; // TODO change this, LibIot should be independent
		}

		type port EutConfigPort procedure {