[CR-1920900] Added f_EPTF_Transport_isConnIdValid to TransportIPL4
Needed by compatibility with Transport - TransportIPL4
Signed-off-by: József Gyürüsi <jozsef.gyurusi@ericsson.com>
Change-Id: I42b78228dea85c08b1c0c4d53c1711c02eb7fdc0
diff --git a/src/Transport/EPTF_CLL_TransportIPL4_Functions.ttcn b/src/Transport/EPTF_CLL_TransportIPL4_Functions.ttcn
index e3a95a7..484901b 100644
--- a/src/Transport/EPTF_CLL_TransportIPL4_Functions.ttcn
+++ b/src/Transport/EPTF_CLL_TransportIPL4_Functions.ttcn
@@ -70,6 +70,7 @@
// <f_EPTF_Transport_setUpInterfaces>
// <f_EPTF_Transport_appendInterfaces>
// <f_EPTF_Transport_setDownInterfaces>
+// <f_EPTF_Transport_isConnIdValid>
// <f_EPTF_TransportIPL4_getConnectionDetails>
// <f_EPTF_TransportIPL4_activateDefaultBufferingHandler>
// <f_EPTF_TransportIPL4_portSend>
@@ -1444,6 +1445,28 @@
}
///////////////////////////////////////////////////////////
+// Function: f_EPTF_Transport_isConnIdValid
+//
+// Purpose:
+// Function to get whether a connection ID is valid/allocated
+//
+// Parameters:
+// pl_connId - *in* *integer* - connection ID
+//
+// Return Value:
+// *boolean* - true if the connection ID is valid
+//
+///////////////////////////////////////////////////////////
+public function f_EPTF_Transport_isConnIdValid(
+ in integer pl_connId)
+runs on EPTF_TransportIPL4_CT
+return boolean
+{
+ var integer vl_connInfofbqId;
+ return f_EPTF_int2int_HashMap_Find(v_EPTF_TransportIPL4_connInfoHashMapId,pl_connId,vl_connInfofbqId);
+}
+
+///////////////////////////////////////////////////////////
// Function: f_EPTF_TransportIPL4_getConnectionDetails
//
// Purpose: