BoilerPlate-LightweightLogging Service OMG Formal/03-11-03 |
#include <ConsumerAdmin_Impl.h>
The servant implementation of BP_LogConsumerAdmin::ConsumerAdmin. The LogConsumerAdmin is an extension to the CosLwLog specification particular to BoilerPlate. The specification defines the LogConsumer but says nothing about how to obtain a LogConsumer leaving one to assume that there is only one instance of the Consumer in a system and that it most likely is obtained from the NameService. BoilerPlate takes another tact and uses a factory pattern to deliver LogConsumers.
BoilerPlate uses a ServantActivator to manage LogConsumer instances. A bound is put on the size of the queue. The bound is configurable using
Public Member Functions | |
ConsumerAdmin_Impl (PortableServer::POA_ptr consumerpoa) | |
Create the servant with a LogState. | |
virtual | ~ConsumerAdmin_Impl () |
dtor | |
virtual CosLwLog::LogConsumer * | build_consumer () throw (CORBA::SystemException) |
Obtain a reference to a LogConsumer. |
|
Create the servant with a LogState.
|
|
dtor
|
|
Obtain a reference to a LogConsumer.
|
Copyright © BoilerPlate.org | Generated on Tue Nov 30 16:33:06 2004 for BoilerPlate CosLightweightLogging Service by 1.3.7 |