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

📄 notificationirpnotifications.idl

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

#include <CosNotification.idl>
#include <NotificationIRPConstDefs.idl>

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

module NotificationIRPNotifications
{

   interface Notify
   {
      /**
      Notification IRP IS defines 6 attributes for the notification header.
      They are: objectClass, objectInstance, notificationId, eventTime,
      systemDN and notificationType.

      The first 2 attributes are mapped into 1 name-value pair. The name of
      the mapped IDL construct is MANAGED_OBJECT_INSTANCE. The const
      string of this mapped IDL construct is defined here.

      The notificationId, eventTime and systemDN are respectively mapped
      into 3 name-value pairs. The const string(s) of these 3 mapped IDL
      constructs are defined here.

      The notificationType is not mapped into any name-value pair
      but is mapped into the type_name position-dependent
      field of the CORBA structured-event. There is no need for a const string
      definition for it.
      */

      const string MANAGED_OBJECT_INSTANCE =
         NotificationIRPConstDefs::AttributeNameValue::MANAGED_OBJECT_INSTANCE;

      const string NOTIFICATION_ID =
         NotificationIRPConstDefs::AttributeNameValue::NOTIFICATION_ID;

      const string EVENT_TIME =
         NotificationIRPConstDefs::AttributeNameValue::EVENT_TIME;

      const string SYSTEM_DN =
         NotificationIRPConstDefs::AttributeNameValue::SYSTEM_DN;
   };

   /**
   Type to which OMG CosNotification::StructuredEvent remainder_of_body any is to be mapped
   */

   struct NonFilterableEventBody {
      CosNotification::PropertySeq name_value_pairs;
      any remainder_of_non_filterable_body;
   };

};

#endif // _NOTIFICATION_IRP_NOTIFICATIONS_IDL_

⌨️ 快捷键说明

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