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

DsLogAdmin::BasicLogFactory Interface Reference

The basic log factory is a concrete LogMgr. More...

import "DsLogAdmin.idl";

Inherits DsLogAdmin::LogMgr.

List of all members.

Public Methods

BasicLog create (in LogFullActionType full_action, in unsigned long long max_size, out LogId id) raises (InvalidLogFullAction)
 Create a new basic log. More...

BasicLog create_with_id (in LogId id, in LogFullActionType full_action, in unsigned long long max_size) raises (LogIdAlreadyExists, InvalidLogFullAction)
 Create a new basic log with a given unique identifier. More...


Detailed Description

The basic log factory is a concrete LogMgr.


Member Function Documentation

BasicLog DsLogAdmin::BasicLogFactory::create in LogFullActionType    full_action,
in unsigned long long    max_size,
out LogId    id
raises (InvalidLogFullAction)
 

Create a new basic 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>id</code> - An output parameter with the unique identifier
of the newly created log object.
Returns:
A new BasicLog object. @raises InvalidLogFullAction If the full_action specified is not valid.

BasicLog DsLogAdmin::BasicLogFactory::create_with_id in LogId    id,
in LogFullActionType    full_action,
in unsigned long long    max_size
raises (LogIdAlreadyExists, InvalidLogFullAction)
 

Create a new basic log with a given unique identifier.

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.
Returns:
A new BasicLog object. @raises LogIdAlreadyExists If a log object with that unique identifier already exists. @raises InvalidLogFullAction If the full_action specified is not valid.