LibItsCommon_TypesAndValues.ttcn 2.85 KB
Newer Older
 *  @author      ETSI / STF405
 *  @version     $URL$
 *               $Id$
 *  @desc        Module containing common types and values for ITS Protocols
 *
 */
module LibItsCommon_TypesAndValues {
    
    // 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 FIXME To be removed
garciay's avatar
garciay committed
    };
    import from LibItsIicp_TypesAndValues {
        type 
            UtIicpInitialize 
    };
    /**
     * @desc Upper Tester message to initialize IUT 
     */
    type union UtInitialize {
        // IP Protocols
        UtBtpInitialize utBtpInitialize,
        UtCamInitialize utCamInitialize,
        UtDenmInitialize utDenmInitialize,
        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 {
        // IP Protocols
        UtBtpEvent utBtpEvent,
        UtCamEvent utCamEvent,
        UtDenmEvent utDenmEvent,
        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
// FIXME To be removed       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"
}