DsNotifyLogAdmin::NotifyLogFactory Interface Reference

The event log factory is both a LogMgr and a ConsumerAdmin. More...

import "DsNotifyLogAdmin.idl";

Inherits DsLogAdmin::LogMgr, and CosNotifyChannelAdmin::ConsumerAdmin.

List of all members.

Public Member Functions

NotifyLog create (in DsLogAdmin::LogFullActionType full_action, in unsigned long long max_size, in DsLogAdmin::CapacityAlarmThresholdList thresholds, in CosNotification::QoSProperties initial_qos, in CosNotification::AdminProperties initial_admin, out DsLogAdmin::LogId id) raises (DsLogAdmin::InvalidLogFullAction, DsLogAdmin::InvalidThreshold, CosNotification::UnsupportedQoS, CosNotification::UnsupportedAdmin)
 Create a new notify log.
NotifyLog create_with_id (in DsLogAdmin::LogId id, in DsLogAdmin::LogFullActionType full_action, in unsigned long long max_size, in DsLogAdmin::CapacityAlarmThresholdList thresholds, in CosNotification::QoSProperties initial_qos, in CosNotification::AdminProperties initial_admin) raises (DsLogAdmin::LogIdAlreadyExists, DsLogAdmin::InvalidLogFullAction, DsLogAdmin::InvalidThreshold, CosNotification::UnsupportedQoS, CosNotification::UnsupportedAdmin)
 Create a new notify log.


Detailed Description

The event log factory is both a LogMgr and a ConsumerAdmin.

It creates log objects and emits log-generated events on behalf of all event logs.


Member Function Documentation

NotifyLog DsNotifyLogAdmin::NotifyLogFactory::create ( in DsLogAdmin::LogFullActionType  full_action,
in unsigned long long  max_size,
in DsLogAdmin::CapacityAlarmThresholdList  thresholds,
in CosNotification::QoSProperties  initial_qos,
in CosNotification::AdminProperties  initial_admin,
out DsLogAdmin::LogId  id 
) raises (DsLogAdmin::InvalidLogFullAction, DsLogAdmin::InvalidThreshold, CosNotification::UnsupportedQoS, CosNotification::UnsupportedAdmin)

Create a new notify log.

full_action - Action to be taken when log is full. max_size - Maximum log size in bytes. thresholds - The threshold values where the newly created log should emit alarms. of the newly created log object. id - An output parameter with the unique identifier of the newly created log object.

Returns:
A new NotifyLog object. InvalidLogFullAction If the full_action parameter contains an invalid value. InvalidThreshold If the thresholds parameter contains an invalid value. UnsupportedQoS If any of the QoS settings could not be honoured by this channel object. UnsupportedAdmin If any of the administrative settings could not be honoured by this channel object.

NotifyLog DsNotifyLogAdmin::NotifyLogFactory::create_with_id ( in DsLogAdmin::LogId  id,
in DsLogAdmin::LogFullActionType  full_action,
in unsigned long long  max_size,
in DsLogAdmin::CapacityAlarmThresholdList  thresholds,
in CosNotification::QoSProperties  initial_qos,
in CosNotification::AdminProperties  initial_admin 
) raises (DsLogAdmin::LogIdAlreadyExists, DsLogAdmin::InvalidLogFullAction, DsLogAdmin::InvalidThreshold, CosNotification::UnsupportedQoS, CosNotification::UnsupportedAdmin)

Create a new notify log.

id - Desired unique identifier for the new log. full_action - Action to be taken when log is full. max_size - Maximum log size in bytes. thresholds - The threshold values where the newly created log should emit alarms. of the newly created log object.

Returns:
A new NotifyLog object. LogIdAlreadyExists If a log object with that unique identifier already exists. InvalidLogFullAction If the full_action parameter contains an invalid value. InvalidThreshold If the thresholds parameter contains an invalid value. UnsupportedQoS If any of the QoS settings could not be honoured by this channel object. UnsupportedAdmin If any of the administrative settings could not be honoured by this channel object.