csirpconstdefs.idl

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

IDL
49
字号
//File: CSIRPConstDefs.idl
#ifndef _CS_IRP_CONST_DEFS_IDL_
#define _CS_IRP_CONST_DEFS_IDL_

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

/* ## Module: CSIRPConstDefs
This module contains commonly used definitions for CSIRP.
=========================================================
*/
module CSIRPConstDefs
{
   typedef unsigned short HeartbeatPeriod;

   /*
   If notifyHeartbeat is triggered by NM positively by invoking
   triggerHeartbeat operation, the value of this parameter shall be IRPManager,
   otherwise, it shall be IRPAgent.
   */
   enum TriggerFlag {IRPManager, IRPAgent};

   typedef string ManagerIdentifier;

   typedef string ChannelId;

   /*
   It specifies whether the operation is success or failed.
   */
   enum Result {SUCCESS, FAILURE};

   /**
   * This block identifies attributes which are included as part of the
   * CommunicationSurveillanceIRP. These attribute values should not
   * clash with those defined for the attributes of notification
   * header (see IDL of Notification IRP).
   */
   interface AttributeNameValue
   {
      const string HEARTBEAT_PERIOD = "HEARTBEAT_PERIOD";
      const string CHANNEL_ID = "CHANNEL_ID";
      const string TRIGGER_FLAG = "TRIGGER_FLAG";
      const string MANAGER_IDENTIFIER = "MANAGER_IDENTIFIER";
   };

};

#endif // _CS_IRP_CONST_DEFS_IDL_

⌨️ 快捷键说明

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