Loading ttcn/LibDiameter_Interface.ttcn 0 → 100644 +44 −0 Original line number Diff line number Diff line /** * @author STF 434 * @version $Id:$ * @desc This module provides the types used by the test component * for DIAMETER tests. */ module LibDiameter_Interface { //LibCommon import from LibCommon_Sync all; import from LibCommon_AbstractData all; import from LibCommon_BasicTypesAndValues all; import from LibCommon_DataStrings all; //LibDiameter import from LibDiameter_TypesAndValues all; type port DiameterPort message { inout RAR_Msg, //TODO specify all types due to new Diameter Types module RAA_Msg } with { extension "address" }; type component DiameterComponent { //port port DiameterPort DIAMP; //TODO global variables have to be defined //TODO general timers have to be defined //TODO indicators set/used parameter status or state handling in default have to be defined //TODO check if needed like in SIP // ETS address // var address v_ets_label := { host := PX_SIP_TS1_IPADDR, portField := PX_SIP_TS1_PORT}; // parts needed for Client/SelfSyncComp type compatibility var StringStack v_stateStack := c_initStringStack; port SyncPort syncSendPort; port SyncPort syncPort; timer tc_sync := PX_TSYNC_TIME_LIMIT; } // end DiameterComponent } // end module DiameterSip_Interface No newline at end of file Loading
ttcn/LibDiameter_Interface.ttcn 0 → 100644 +44 −0 Original line number Diff line number Diff line /** * @author STF 434 * @version $Id:$ * @desc This module provides the types used by the test component * for DIAMETER tests. */ module LibDiameter_Interface { //LibCommon import from LibCommon_Sync all; import from LibCommon_AbstractData all; import from LibCommon_BasicTypesAndValues all; import from LibCommon_DataStrings all; //LibDiameter import from LibDiameter_TypesAndValues all; type port DiameterPort message { inout RAR_Msg, //TODO specify all types due to new Diameter Types module RAA_Msg } with { extension "address" }; type component DiameterComponent { //port port DiameterPort DIAMP; //TODO global variables have to be defined //TODO general timers have to be defined //TODO indicators set/used parameter status or state handling in default have to be defined //TODO check if needed like in SIP // ETS address // var address v_ets_label := { host := PX_SIP_TS1_IPADDR, portField := PX_SIP_TS1_PORT}; // parts needed for Client/SelfSyncComp type compatibility var StringStack v_stateStack := c_initStringStack; port SyncPort syncSendPort; port SyncPort syncPort; timer tc_sync := PX_TSYNC_TIME_LIMIT; } // end DiameterComponent } // end module DiameterSip_Interface No newline at end of file