Skip to content
LibItsCommon_TypesAndValues.ttcn 2.63 KiB
Newer Older
 *  @author      ETSI / STF405
 *  @version     $URL$
 *               $Id$
 *  @desc        Module containing common types and values for ITS Protocols
 *
 */
module LibItsCommon_TypesAndValues {
    
garciay's avatar
garciay committed
    // LibIts - IP Protocols
    import from LibItsBtp_TypesAndValues all;
    import from LibItsCam_TypesAndValues all;
    import from LibItsDenm_TypesAndValues all;
    import from LibItsGeoNetworking_TypesAndValues all;
garciay's avatar
garciay committed
    // LibIts - Non IP Protocols
    import from LibItsNt_TypesAndValues {
        type 
            utFntpInitialize, 
            utFntpCommandRequest, utFntpCommandConfirm, utFntpCommandInd
    };
    import from LibItsFsap_TypesAndValues {
        type 
            utFsapInitialize, 
            utFsapCommandRequest, utFsapCommandConfirm, utFsapCommandInd
    };
    /**
     * @desc Upper Tester message to initialize IUT 
     */
    type union UtInitialize {
garciay's avatar
garciay committed
        // IP Protocols
        UtBtpInitialize utBtpInitialize,
        UtCamInitialize utCamInitialize,
        UtDenmInitialize utDenmInitialize,
garciay's avatar
garciay committed
        UtGNInitialize utGNInitialize,
        // Non IP Protocols
        UtFntpInitialize utFntpInitialize,
        UtFsapInitialize utFsapInitialize
    /**
     * @desc Upper Tester message to trigger an action on IUT 
     */
    type record UtTrigger {
        UtEvent utEvent
    }
    
    /**
     * @desc Upper Tester message to check event/status on IUT 
     */    
    type record UtCheck {
        UtEvent utEvent
    }
    
    /**
     * @desc Upper Tester message describing an action/event 
     */
    type union UtEvent {
garciay's avatar
garciay committed
        // IP Protocols
        UtBtpEvent utBtpEvent,
        UtCamEvent utCamEvent,
        UtDenmEvent utDenmEvent,
garciay's avatar
garciay committed
        UtGNEvent utGnEvent,
        // Non IP Protocols
        UtFntpEvent utFntpEvent,
        UtFsapEvent utFsapEvent
    }
    
    /**
     * @desc Upper Tester message describing an action/event 
     */
    type union UtCommandRequest {
        UtFntpCommandRequest utFntpCommandRequest,
        UtFsapCommandRequest utFsapCommandRequest
    }
    
    /**
     * @desc Upper Tester message describing an action/event 
     */
    type union UtCommandConfirm {
        UtFntpCommandConfirm utFntpCommandConfirm,
        UtFsapCommandConfirm utFsapCommandConfirm
    }
    
    /**
     * @desc Upper Tester message describing an action/event 
     */
    type union UtCommandIndication {
        UtFntpCommandIndication utFntpCommandIndication
        //UtFsapCommandIndication utFsapCommandIndication
    /**
     * @desc Upper Tester response message  
     */    
    type boolean UtResult;
    
}
with {
    encode "LibItsCommon_TypesAndValues"
}