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

📄 notificationirpconstdefs.idl

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

#include <ManagedGenericIRPConstDefs.idl>

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

/* ## Module: NotificationIRPConstDefs
This module contains definitions specific for Notification IRP.
================================================================
*/
module NotificationIRPConstDefs
{
   /*
   Define the parameters (in the notification header) specified in
   the Notification IRP: IS.
   */
   interface AttributeNameValue
   {
      const string NOTIFICATION_ID = "a";
      const string EVENT_TIME = "b";
      const string SYSTEM_DN = "c";
      const string MANAGED_OBJECT_CLASS = "d";
      const string MANAGED_OBJECT_INSTANCE = "e";
   };

   /*
   It defines the notification categories.
   A notification category is identified by the IRP name and its version number.
   */
   typedef ManagedGenericIRPConstDefs::VersionNumberSet NotificationCategorySet;

   /*
   NotificationCategorySetOpt is a type carrying an optional parameter.
   If the boolean is TRUE, then the value is present.
   Otherwise the value is absent.
   */
   union NotificationCategorySetOpt switch (boolean)
   {
      case TRUE: NotificationCategorySet value;
   };

   /*
   It defines the notification types of a particular notification category.
   */
   typedef sequence <string> NotificationTypePerNotificationCategory;

   /*
   This sequence identifies all notification types of all notification
   categories identified by NotificationCategorySet. The number of elements
   in this sequence shall be identical to that of NotificationCategorySet.
   */
   typedef sequence <NotificationTypePerNotificationCategory>
      NotificationTypesSet;

   /*
   NotificationTypesSetOpt is a type carrying an optional parameter.
   If the boolean is TRUE, then the value is present.
   Otherwise the value is absent.
   */
   union NotificationTypesSetOpt switch (boolean)
   {
      case TRUE: NotificationTypesSet value;
   };

   /*
   It defines a sequence of SubscriptionIds.
   */
   typedef string SubscriptionId;
   typedef sequence <SubscriptionId> SubscriptionIdSet;

   /*
   SubscriptionIdOpt is a type carrying an optional parameter.
   If the boolean is TRUE, then the value is present.
   Otherwise the value is absent.
   */
   union SubscriptionIdOpt switch (boolean)
   {
      case TRUE: SubscriptionId value;
   };

   /*
   This indicates if the subscription is Active (not suspended), Suspended,
   or Invalid.
   */
   enum SubscriptionState {ACTIVE, SUSPENDED, INVALID};

   /*
   SubscriptionStateOpt is a type carrying an optional parameter.
   If the boolean is TRUE, then the value is present.
   Otherwise the value is absent.
   */
   union SubscriptionStateOpt switch (boolean)
   {
      case TRUE: SubscriptionState value;
   };

};

#endif // _NOTIFICATION_IRP_CONST_DEFS_IDL_

⌨️ 快捷键说明

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