filetransferirpsystem.idl

来自「UCS (Ultra Corba Simulator) is one more 」· IDL 代码 · 共 89 行

IDL
89
字号
//File: FileTransferIRPSystem.idl
#ifndef _FILE_TRANSFER_IRP_SYSTEM_IDL_
#define _FILE_TRANSFER_IRP_SYSTEM_IDL_

#include <ManagedGenericIRPConstDefs.idl>
#include <ManagedGenericIRPSystem.idl>
#include <FileTransferIRPConstDefs.idl>

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

/* ## Module: FileTransferIRPSystem
This module implements capabilities of FileTransferIRP.
================================================================
*/
module FileTransferIRPSystem
{
   exception InvalidTimes { string reason; };
   exception InvalidFileInfoList { string reason; };

   /*
   System fails to complete the operation. System can provide reason
   to qualify the exception. The semantics carried in reason
   is outside the scope of this IRP.
   */
   exception ListAvailableFiles { string reason; };
   exception FileDownloadIndication { string reason; };
   exception GetFileTransferIRPVersions { string reason; };
   exception GetFileTransferIRPOperationsProfile { string reason; };
   exception GetFileTransferIRPNotificationsProfile { string reason; };

   interface FileTransferIRP
   {
      /*
      * IRPManager invoke this operation to get the files information
      */
      FileTransferIRPConstDefs::Result list_available_files(
         in short management_data_type,
         in FileTransferIRPConstDefs::UTCTime begin_time,
         in FileTransferIRPConstDefs::UTCTime end_time,
         out FileTransferIRPConstDefs::FileInfoList file_info_list
      )
      raises (ListAvailableFiles, InvalidTimes,
              ManagedGenericIRPSystem::InvalidParameter);

      /*
      * IRPManager invoke this operation to indicate completion of downloading files to IRPAgent
      */
      FileTransferIRPConstDefs::Result file_download_indication(
         in FileTransferIRPConstDefs::FileInfoList file_info_list
      )
      raises (FileDownloadIndication, InvalidFileInfoList,
              ManagedGenericIRPSystem::OperationNotSupported);

      /**
      * Return the list of all supported FileTransferIRP versions.
      */
      ManagedGenericIRPConstDefs::VersionNumberSet get_file_transfer_irp_versions (
      )
      raises (GetFileTransferIRPVersions);

      /**
      * Return the list of all supported operations and their supported
      * parameters for a specific FileTransferIRP version.
      */
      ManagedGenericIRPConstDefs::MethodList get_file_transfer_irp_operations_profile (
         in ManagedGenericIRPConstDefs::VersionNumber irp_version
      )
      raises (GetFileTransferIRPOperationsProfile,
              ManagedGenericIRPSystem::OperationNotSupported,
              ManagedGenericIRPSystem::InvalidParameter);

      /**
      * Return the list of all supported notifications and their supported
      * parameters for a specific FileTransferIRP version.
      */
      ManagedGenericIRPConstDefs::MethodList get_file_transfer_irp_notifications_profile
      (
         in ManagedGenericIRPConstDefs::VersionNumber irp_version
      )
      raises (GetFileTransferIRPNotificationsProfile,
              ManagedGenericIRPSystem::OperationNotSupported,
              ManagedGenericIRPSystem::InvalidParameter);
   };

};

#endif // _FILE_TRANSFER_IRP_SYSTEM_IDL_

⌨️ 快捷键说明

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