11 #ifndef TX_EVENT_LOG_COLLECTOR_H
12 #define TX_EVENT_LOG_COLLECTOR_H
14 #include "TxEventLogFile.h"
33 virtual void writeDown(
const std::string& message);
34 virtual void writeDown(
const char *message);
35 virtual void InitDb();
55 virtual StUcmTasks *getTaskList (
int limit,
int offset);
61 virtual StUcmJobs *getJobList(
int limit,
int offset);
63 virtual int getJobId(
const char *reqName,
const char *taskBrokerId,
int jobBrokerId);
69 virtual StUcmEvents *getEventList(
int limit,
int offset);
74 virtual void setDbJobID (
int bJobID);
77 virtual int queryTableSize(
const char *tableName);
78 virtual int queryTableSize(
const char *tableName,
const char *where);
79 virtual int queryTableSize(
const char *tableName,
const StRecord *where);
virtual void setRequesterName(const std::string &reqName)
virtual void setBrokerJobID(int bJobID)
virtual ~TxEventLogCollector()
virtual void setBrokerTaskID(const std::string &brokerTaskID)
virtual void writeDown(const std::string &message)