LibItsCommon_TypesAndValues.ttcn 2.81 KB
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 LibItsFntp_TypesAndValues {
garciay's avatar
garciay committed
        type 
            UtFntpInitialize, 
            UtFntpEvent, 
            UtFntpCommandRequest, UtFntpCommandConfirm, UtFntpCommandIndication
garciay's avatar
garciay committed
    };
    import from LibItsFsap_TypesAndValues {
        type 
            UtFsapInitialize, 
            UtFsapEvent, 
            UtFsapCommandRequest, UtFsapCommandConfirm 
garciay's avatar
garciay committed
    };
    import from LibItsIicp_TypesAndValues {
        type 
            UtIicpInitialize 
    };
    /**
     * @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,
        UtIicpInitialize utIicpInitialize
    /**
     * @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"
}