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

DsTypedEventLogAdmin::TypedEventLogFactory Interface Reference

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

import "DsTypedEventLogAdmin.idl";

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

List of all members.

Public Methods

TypedEventLog create (in DsLogAdmin::LogFullActionType full_action, in unsigned long long max_size, in DsLogAdmin::CapacityAlarmThresholdList thresholds, out DsLogAdmin::LogId id) raises (DsLogAdmin::InvalidLogFullAction, DsLogAdmin::InvalidThreshold)
 Create a new typed event log. More...

TypedEventLog create_with_id (in DsLogAdmin::LogId id, in DsLogAdmin::LogFullActionType full_action, in unsigned long long max_size, in DsLogAdmin::CapacityAlarmThresholdList thresholds) raises (DsLogAdmin::LogIdAlreadyExists, DsLogAdmin::InvalidLogFullAction, DsLogAdmin::InvalidThreshold)
 Create a new typed event log. More...


Detailed Description

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

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


Member Function Documentation

TypedEventLog DsTypedEventLogAdmin::TypedEventLogFactory::create in DsLogAdmin::LogFullActionType    full_action,
in unsigned long long    max_size,
in DsLogAdmin::CapacityAlarmThresholdList    thresholds,
out DsLogAdmin::LogId    id
raises (DsLogAdmin::InvalidLogFullAction, DsLogAdmin::InvalidThreshold)
 

Create a new typed event 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 TypedEventLog object. @raises InvalidLogFullAction If the full_action specified is not valid. @raises InvalidThreshold If the thresholds parameter contains an invalid value.

TypedEventLog DsTypedEventLogAdmin::TypedEventLogFactory::create_with_id in DsLogAdmin::LogId    id,
in DsLogAdmin::LogFullActionType    full_action,
in unsigned long long    max_size,
in DsLogAdmin::CapacityAlarmThresholdList    thresholds
raises (DsLogAdmin::LogIdAlreadyExists, DsLogAdmin::InvalidLogFullAction, DsLogAdmin::InvalidThreshold)
 

Create a new typed event 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 TypedEventLog object. @raises LogIdAlreadyExists If a log object with that unique identifier already exists. @raises InvalidLogFullAction If the full_action specified is not valid. @raises InvalidThreshold If the thresholds parameter contains an invalid value.