Public Member Functions | Protected Member Functions | Protected Attributes

LoggingService Class Reference

#include <loggingService.h>

Collaboration diagram for LoggingService:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LoggingService ()
virtual ~LoggingService ()
bool isInitialized ()
int parse_args (int argc, char *argv[])
void startup (int argc, char *argv[])
int run ()
void shutdown ()

Protected Member Functions

void init_ORB (int &argc, char *argv[])
void resolve_naming_service ()
void resolve_notify_factory ()
void create_EC ()
void create_supplieradmin ()
void create_suppliers ()
void create_basic_log_factory ()
void create_basic_log ()

Protected Attributes

CosNotifyChannelAdmin::EventChannelFactory_var m_notify_factory
CosNotifyChannelAdmin::EventChannel_var m_logging_ec
CosNotification::QoSProperties m_initial_qos
CosNotification::AdminProperties m_initial_admin
CosNotifyChannelAdmin::InterFilterGroupOperator m_ifgop
CosNotifyChannelAdmin::SupplierAdmin_var m_logging_supplier_admin
ACSStructuredPushSupplierm_logging_supplier
const char * m_basic_log_factory_name
const char * m_basic_log_name
ACSLogFactory_i m_basic_log_factory
DsLogAdmin::BasicLog_var m_basic_log
bool m_logBin
bool m_isInitialized
CORBA::ORB_var m_orb
PortableServer::POA_var m_poa
CosNaming::NamingContext_var m_naming_context

Detailed Description

Implementation of the Telecom Log Service


Constructor & Destructor Documentation

LoggingService::LoggingService (  ) 

Constructor

virtual LoggingService::~LoggingService (  )  [virtual]

Destructor


Member Function Documentation

void LoggingService::create_basic_log (  )  [protected]

Create the Basic Log

void LoggingService::create_basic_log_factory (  )  [protected]

Create the Basic Log Factory

void LoggingService::create_EC (  )  [protected]

Create an EC.

void LoggingService::create_supplieradmin (  )  [protected]

Create the Supplier Admin.

void LoggingService::create_suppliers (  )  [protected]

create and initialize the suppliers.

void LoggingService::init_ORB ( int &  argc,
char *  argv[] 
) [protected]

initialize the ORB.

bool LoggingService::isInitialized (  )  [inline]

Initalization status

References m_isInitialized.

int LoggingService::parse_args ( int  argc,
char *  argv[] 
)

Parses the command line arguments.

Returns:
Returns 0 on success, -1 on error.
void LoggingService::resolve_naming_service (  )  [protected]

Resolve the naming service.

void LoggingService::resolve_notify_factory (  )  [protected]

Try to resolve the Notify factory from the Naming service.

int LoggingService::run (  ) 

run the Telecom Log Service.

Returns:
Returns 0 on success, -1 on error.
void LoggingService::shutdown (  ) 

Shutdown the Telecom Log Service.

void LoggingService::startup ( int  argc,
char *  argv[] 
)

Initializes the Telecom Log Service.


Member Data Documentation

DsLogAdmin::BasicLog_var LoggingService::m_basic_log [protected]

The Basic Log

The Basic Log Factory.

The Log Factory name.

const char* LoggingService::m_basic_log_name [protected]

The Log name.

CosNotifyChannelAdmin::InterFilterGroupOperator LoggingService::m_ifgop [protected]

The group operator between admin-proxy's.

CosNotification::AdminProperties LoggingService::m_initial_admin [protected]

Initial admin props specified to the factory when creating the EC.

CosNotification::QoSProperties LoggingService::m_initial_qos [protected]

Initial qos specified to the factory when creating the EC.

Initialization status

Referenced by isInitialized().

bool LoggingService::m_logBin [protected]
CosNotifyChannelAdmin::EventChannel_var LoggingService::m_logging_ec [protected]

The logging channel that we create using the factory.

The loggingg supplier

CosNotifyChannelAdmin::SupplierAdmin_var LoggingService::m_logging_supplier_admin [protected]

The logging supplier admin used by suppliers.

CosNaming::NamingContext_var LoggingService::m_naming_context [protected]

A naming context.

CosNotifyChannelAdmin::EventChannelFactory_var LoggingService::m_notify_factory [protected]

Channel factory

CORBA::ORB_var LoggingService::m_orb [protected]

The ORB that we use.

PortableServer::POA_var LoggingService::m_poa [protected]

Reference to the root poa.


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