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

📄 kernelcmnotifications.idl

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

#include <KernelCmConstDefs.idl>
#include <NotificationIRPNotifications.idl>

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

module KernelCmNotifications
{
   /**
    *  This interface defines fields that are common for all
    *  notification types.
    *  All constants in the scope of this interface will be
    *  visible in the interfaces that inherits this.
    *  For instance constant
    *  NotificationCommon::MANAGED_OBJECT_CLASS
    *  can be addressed by MODeletion::MANAGED_OBJECT_CLASS
    */
   interface NotificationCommon: NotificationIRPNotifications::Notify
   {

      /**
       *  This constant defines the name of the
       *  source indicator property.
       */
      const string SOURCE_INDICATOR =
         KernelCmConstDefs::AttributeNameValue::SOURCE_INDICATOR;

      /**
       * Valid values for the SOURCE_INDICATOR
       * property
       */
      const string RESOURCE_OPERATION = "RESOURCE OPERATION";
      const string MANAGEMENT_OPERATION = "MANAGEMENT OPERATION";
      const string UNKNOWN_OPERATION = "UNKNOWN";

      /**
       *  This constant defines the name of the
       *  additional text property.
       *  The data type for the value of this property
       *  is a string.
       */
      const string ADDITIONAL_TEXT =
         KernelCmConstDefs::AttributeNameValue::ADDITIONAL_TEXT;

      /**
       *  This constant defines the name of the
       *  correlated notifications property.
       *  The value part of the property is
       *    KernelCmConstDefs::CorrelatedNotificationSet
       */
      const string CORRELATED_NOTIFICATIONS =
         KernelCmConstDefs::AttributeNameValue::CORRELATED_NOTIFICATIONS;
   };

   /**
    *  Constant definitions for the MO deleted notification
    */
   interface MODeletion : NotificationCommon
   {
      const string EVENT_TYPE = "x7";

      /**
       * This information mapped into the remainder_of_body
       * in the StructuredEvent
       */
      typedef KernelCmConstDefs::MOAttributeSet AttributeValues;
   };

   /**
    *  Constant definitions for the MO created notification
    */
   interface MOCreation : NotificationCommon
   {
      const string EVENT_TYPE = "x6";

      /**
       * This information mapped into the remainder_of_body
       * in the StructuredEvent
       */
      typedef KernelCmConstDefs::MOAttributeSet InitialAttributeValues;
   };

   /**
    *  Constant definitions for the Attribute Value Change
    *  notification
    */
   interface AttributeValueChange : NotificationCommon
   {
      const string EVENT_TYPE = "x8";

      /**
       * Information about modified attributes for
       * one MO instance.
       * - name defines the name of the attribute
       * - new_value defines the new value of the attribute
       * - old_value defines the previous value of the attribute
       *    The value is optional, which means that it may contain
       *    an empty any (null inserted in the any).
       *
       */
      struct ModifiedAttribute
      {
         string name;
         any new_value;
         any old_value;
      };

      /**
       * This information mapped into the remainder_of_body
       * in the StructuredEvent.
       */
      typedef sequence<ModifiedAttribute> ModifiedAttributeSet;
   };

   /**
    *  Constant definitions for the CM Synchronization Recommended notification
    */
   interface CMSynchronizationRecommended: NotificationIRPNotifications::Notify
   {
      const string EVENT_TYPE = "x9";

      /**
       *  This constant defines the name of the
       *  additional text property.
       *  The data type for the value of this property
       *  is a string.
       */
      const string ADDITIONAL_TEXT =
         KernelCmConstDefs::AttributeNameValue::ADDITIONAL_TEXT;

      /**
       *  This constant defines the name of the
       *  base MO class property.
       *  The value part of this property will carry
       *  the base MO class name as a string.
       */
      const string BASE_MO_CLASS =
         KernelCmConstDefs::AttributeNameValue::BASE_MO_CLASS;

      /**
       *  This constant defines the name of the
       *  base MO instance property.
       *  The value part of this property will carry
       *  the base MO distinguished name as a string.
       */
      const string BASE_MO_INSTANCE =
         KernelCmConstDefs::AttributeNameValue::BASE_MO_INSTANCE;

      /**
       *  This constant defines the name of the
       *  scope property.
       *  The data type for the value of this property
       *  is KernelCmConstDefs::ScopePara.
       */
      const string SCOPE =
         KernelCmConstDefs::AttributeNameValue::SCOPE;
   };

   /**
    *  Constant definitions for the State Change notification
    */
   interface StateChange : NotificationCommon
   {
      const string EVENT_TYPE = "xA";
   };

};

#endif // _KERNEL_CM_NOTIFICATIONS_IDL_

⌨️ 快捷键说明

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