|
LoggingService − |
|
#include <loggingService.h> |
|
Public Member Functions |
|
LoggingService () |
|
virtual ~LoggingService () |
|
bool isInitialized () |
|
int parse_args (int argc, char *argv[]) |
|
void startup (int argc, char *argv[]) |
|
void reinit () |
|
bool autoreconnect () const |
|
int run () |
|
void shutdown () |
|
Static Public Attributes |
|
static const std::string CLP_NO_AUTORECONNECT |
|
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 reinit_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 |
|
ACSStructuredPushSupplier * m_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 |
|
ACE_SYNCH_MUTEX m_mutexReinit |
|
bool m_autoreconnect |
|
Implementation of the Telecom Log Service |
|
LoggingService::LoggingService () Constructor |
|
virtual LoggingService::~LoggingService () [virtual] Destructor |
|
bool LoggingService::autoreconnect () const Autoreconnect to the Notify Channel when the supplier cannot publish an event and one of these exceptions has been thrown: OBJECT_NOT_EXIST, BAD_OPERATION |
|
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::reinit () Reinitializes the connection to the Notify Channel |
|
void LoggingService::reinit_suppliers () [protected] |
|
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. |
|
const std::string LoggingService::CLP_NO_AUTORECONNECT [static] Command line parameters |
|
bool LoggingService::m_autoreconnect [protected] Autoreconnect to the Notify Channel when the supplier cannot publish an event and one of these exceptions has been thrown: OBJECT_NOT_EXIST, BAD_OPERATION |
|
DsLogAdmin::BasicLog_var LoggingService::m_basic_log [protected] The Basic Log |
|
ACSLogFactory_i LoggingService::m_basic_log_factory [protected] The Basic Log Factory. |
|
const char* LoggingService::m_basic_log_factory_name [protected] 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. |
|
bool LoggingService::m_isInitialized [protected] 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. |
|
ACSStructuredPushSupplier* LoggingService::m_logging_supplier [protected] The loggingg supplier |
|
CosNotifyChannelAdmin::SupplierAdmin_var LoggingService::m_logging_supplier_admin [protected] The logging supplier admin used by suppliers. |
|
ACE_SYNCH_MUTEX LoggingService::m_mutexReinit [protected] Mutex used in reinit |
|
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. |
|
Generated automatically by Doxygen for ACS-2016.6 C++ API from the source code. |