⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filetransferirpconstdefs.idl

📁 UCS (Ultra Corba Simulator) is one more powerful corba client/servant simulator tool than other simi
💻 IDL
字号:
//File: FileTransferIRPConstDefs.idl
#ifndef _FILE_TRANSFER_IRP_CONST_DEFS_IDL_
#define _FILE_TRANSFER_IRP_CONST_DEFS_IDL_

#include <TimeBase.idl>

// This statement must appear after all include statements
#pragma prefix "3gppsa5.org"

/* ## Module: FileTransferIRPConstDefs
This module contains commonly used definitions for FileTransferIRP.
================================================================
*/
module FileTransferIRPConstDefs
{
   enum Result {OK, FAILURE};

   typedef TimeBase::UtcT UTCTime;

   enum LocationChoice {DIRECTORY, URL};

   //The FileLocation may be a directory path or a URL
   union FileLocation switch (LocationChoice)
   {
      case DIRECTORY: string file_location_directory;
      /* e.g. \\202.112.101.1\D:\user\performanceFiles\<fileName> */
      case URL: string file_location_url;
      /* e.g. ftp://nms.telecom_org.com/datastore/<fileName> */
   };

   typedef unsigned long FileSize;  //the unit is byte
   typedef string FileCompression;
   typedef string FileFormat;

   struct FileInfo
   {
      FileLocation file_location;
      FileSize file_size;
      UTCTime file_ready_time;
      UTCTime file_expiration_time;
      FileCompression file_compression;
      FileFormat file_format;
   };

   typedef sequence<FileInfo> FileInfoList;

   const short PM_MANAGEMENT_DATA_TYPE = 1;  //Performance Management
   const short CM_MANAGEMENT_DATA_TYPE = 2;  //Configuration Management
   const short IM_MANAGEMENT_DATA_TYPE = 3;  //Inventory Management
   const short TM_MANAGEMENT_DATA_TYPE = 4;  //Test Management
   const short CT_MANAGEMENT_DATA_TYPE = 5;  //Subscriber & Equipment Trace
   const short NL_MANAGEMENT_DATA_TYPE = 6;  //Notification Log
   const short CG_MANAGEMENT_DATA_TYPE = 7;  //Charging
   const short OT_MANAGEMENT_DATA_TYPE = 8;  //Other Types

   /*
   Define the parameters specified in the notifyFileReady
   and notifyFilePreparationError notifications.
   */
   interface AttributeNameValue
   {
      const string FILE_INFO_LIST = "FILE_INFO_LIST";
      const string ADDITIONAL_TEXT = "ADDITIONAL_TEXT";
      const string REASON = "REASON";
   };

};

#endif // _FILE_TRANSFER_IRP_CONST_DEFS_IDL_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -