ページの先頭行へ戻る
Interstage Application Server リファレンスマニュアル(API編)

1.17.1 CosNotificationインタフェース

型の定義

  当モジュールで使用するデータ型の形式を示します。

typedef CORBA_string             CosNotification_Istring;
typedef CosNotification_Istring  CosNotification_PropertyName;
typedef CORBA_any                CosNotification_PropertyValue;

typedef struct {
    CosNotification_PropertyName      name;
    CosNotification_PropertyValue     value;
} CosNotification_Property;

typedef CORBA_sequence_CosNotification_Property    CosNotification_PropertySeq;
typedef CosNotification_PropertySeq    CosNotification_OptionalHeaderFilds;
typedef CosNotification_PropertySeq    CosNotification_FilterableEventBody;
typedef CosNotification_PropertySeq    CosNotification_QoSProperties;
typedef CosNotification_PropertySeq    CosNotification_AdminProperties;

typedef struct {
    CORBA_string      domain_name;
    CORBA_string      type_name;
} CosNotification_EventType;
typedef CORBA_sequence_CosNotification_EventType   CosNotification_EventTypeSeq;

typedef struct {
    CosNotification_PropertyValue    low_val;
    CosNotification_PropertyValue    high_val;
} CosNotification_PropertyRange;

typedef struct {
    CosNotification_PropertyName     name;
    CosNotification_PropertyRange    range;
} CosNotification_NamedPropertyRange;
typedef  CORBA_sequence_CosNotification_NamedPropertyRange
                CosNotification_NamedPropertyRangeSeq;

typedef struct {
    CosNotification_QoSError_code    code;
    CosNotification_PropertyName     name;
    CosNotification_PropertyRange    available_range;
} CosNotification_PropertyError;
typedef  CORBA_sequence_CosNotification_PropertyError
                CosNotification_PropertyErrorSeq;

typedef struct {
    CosNotification_EventType    event_type;
    CORBA_string                 event_name;
} CosNotification_FixedEventHeader;

typedef struct {
    CosNotification_FixedEventHeader     fixed_event;
    CosNotification_OptionalHeaderFilds  variable_header;
} CosNotification_EventHeader;

typedef struct {
    CosNotification_EventHeader          header;
    CosNotification_FilterableEventBody  filterable_data;
    CORBA_any                            remainder_of_body;
} CosNotification_StructuredEvent;