Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

DsTypedNotifyLogAdmin::TypedNotifyLogFactory Interface Reference

The typed notify log factory is both a LogMgr and a ConsumerAdmin. More...

import "DsTypedNotifyLogAdmin.idl";

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

List of all members.

Public Methods

TypedNotifyLog 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. More...

TypedNotifyLog 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. More...


Detailed Description

The typed notify log factory is both a LogMgr and a ConsumerAdmin.

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


Member Function Documentation

TypedNotifyLog DsTypedNotifyLogAdmin::TypedNotifyLogFactory::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.

m <code>full_action</code> - Action to be taken when log is full.
m <code>max_size</code> - Maximum log size in bytes.
m <code>thresholds</code> - The threshold values where the newly
created log should emit alarms. of the newly created log object.
m <code>id</code> - An output parameter with the unique identifier
of the newly created log object.
Returns:
A new TypedNotifyLog object. @raises InvalidLogFullAction If the full_action parameter contains an invalid value. @raises InvalidThreshold If the thresholds parameter contains an invalid value. @raises UnsupportedQoS If any of the QoS settings could not be honoured by this channel object. @raises UnsupportedAdmin If any of the administrative settings could not be honoured by this channel object.

TypedNotifyLog DsTypedNotifyLogAdmin::TypedNotifyLogFactory::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.

m <code>id</code> - Desired unique identifier for the new log.
m <code>full_action</code> - Action to be taken when log is full.
m <code>max_size</code> - Maximum log size in bytes.
m <code>thresholds</code> - The threshold values where the newly
created log should emit alarms. of the newly created log object.
Returns:
A new TypedNotifyLog object. @raises LogIdAlreadyExists If a log object with that unique identifier already exists. @raises InvalidLogFullAction If the full_action parameter contains an invalid value. @raises InvalidThreshold If the thresholds parameter contains an invalid value. @raises UnsupportedQoS If any of the QoS settings could not be honoured by this channel object. @raises UnsupportedAdmin If any of the administrative settings could not be honoured by this channel object.