📄 kernelcmconstdefs.idl
字号:
//File: KernelCmConstDefs.idl
#ifndef _KERNEL_CM_CONST_DEFS_IDL_
#define _KERNEL_CM_CONST_DEFS_IDL_
// This statement must appear after all include statements
#pragma prefix "3gppsa5.org"
module KernelCmConstDefs
{
/**
* Information about one attribute
* - name defines the name of the attribute
* - value defines the value of the attribute
*
*/
struct MOAttribute
{
string name;
any value;
};
/**
* A set of attribute names and values
*/
typedef sequence<MOAttribute> MOAttributeSet;
/**
* ScopeType defines the kind of scope to use in a CM synchronization
* request together with ScopePara.level, in the SCOPE field.
*
* ScopePara.level is always >= 0. If a level is bigger than the
* depth of the tree there will be no exceptions thrown.
* BASE_ONLY: level ignored, just return the base object.
* BASE_NTH_LEVEL: return all subordinate objects that are on "level"
* distance from the base object, where 0 is the base object.
* BASE_SUBTREE: return the base object and all of its subordinates
* down to and including the nth level.
* BASE_ALL: level ignored, return the base object and all of it's
* subordinates.
*/
enum ScopeType
{
BASE_ONLY,
BASE_NTH_LEVEL,
BASE_SUBTREE,
BASE_ALL
};
struct ScopePara
{
ScopeType type;
unsigned long level;
};
/* The format of Distinguished Name (DN) is specified in 3GPP TS 32.300
"Name Conventions for Managed Objects".
*/
typedef string DN;
typedef sequence <long> NotifIdSet;
/*
This holds identifiers of notifications that are correlated.
*/
struct CorrelatedNotification
{
DN source; // Contains DN of MO that emitted the set of notifications
// DN string format in compliance with Name Convention for
// Managed Object.
// This may be a zero-length string. In this case, the MO
// is identified by the value of the MOI attribute
// of the Structured Event, i.e., the notification.
NotifIdSet notif_id_set; // Set of related notification ids
};
/*
Correlated Notification sets are sets of Correlated Notification
structures.
*/
typedef sequence <CorrelatedNotification> CorrelatedNotificationSet;
/*
This block identifies attributes which are included as part of the Kernel
CM IRP. These attribute values should not clash with those defined for the
attributes of notification header (see IDL of Notification IRP).
*/
interface AttributeNameValue
{
const string SOURCE_INDICATOR = "SOURCE";
const string ADDITIONAL_TEXT = "ADD_TEXT";
const string CORRELATED_NOTIFICATIONS = "CORREL_NOTIFS";
const string BASE_MO_CLASS = "BASE_MOC";
const string BASE_MO_INSTANCE = "BASE_MOI";
const string SCOPE = "SCOPE";
};
};
#endif // _KERNEL_CM_CONST_DEFS_IDL_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -