Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Log_ServantFactory Class Reference
[LWLogging Service]

#include <Log_ServantFactory.h>

Collaboration diagram for Log_ServantFactory:

Collaboration graph
[legend]
List of all members.

Detailed Description

Instantiates the Producer and the ConsumerAdmin.

Author
knoxy
Revision
1.8
Date
2004/10/24 01:35:54

The bootstrapping factory for the LogProducer. This class will instantiate the LogProducer and the LogState. It parses the command line parameters and passes the values on to its constituents.

Command Line Parameters

: Optional : The directory to write the log file in. If not present the system will default to the current directory.


Public Member Functions

 Log_ServantFactory (LogConsumerServantFactory &logstate) throw (ServantFactory::ServantBuildException)
virtual ~Log_ServantFactory ()

Protected Member Functions

virtual void build_servants (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa) throw (ServantFactory::ServantBuildException)


Constructor & Destructor Documentation

Log_ServantFactory::Log_ServantFactory LogConsumerServantFactory logstate  )  throw (ServantFactory::ServantBuildException)
 

Default Constructor

Exceptions:
ServantBuildException - All main lines must be prepared to catch this exception

virtual Log_ServantFactory::~Log_ServantFactory  )  [virtual]
 

The ctor

Todo:
What is the right shutdown order?


Member Function Documentation

virtual void Log_ServantFactory::build_servants CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa
throw (ServantFactory::ServantBuildException) [protected, virtual]
 

ServantFactory::build_servants over ride

Satisfies the ServantFactory contract. Instantiates the LogState, Producer_Impl and ConsumerAdmin_Impl. Binds the Producer and ConsumerAdmin to the NameService

Parameters:
orb - The systems' ORB
poa - This factory's POA


The documentation for this class was generated from the following file: