 |
log4cplus
2.0.6
|
Go to the documentation of this file.
25 #ifndef LOG4CPLUS_HELPERS_CONNECTORTHREAD_H
26 #define LOG4CPLUS_HELPERS_CONNECTORTHREAD_H
30 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
39 #if ! defined (LOG4CPLUS_SINGLE_THREADED)
64 virtual void ctcSetConnected () = 0;
105 #endif // ! defined (LOG4CPLUS_SINGLE_THREADED)
107 #endif // LOG4CPLUS_HELPERS_CONNECTORTHREAD_H
This class implements client sockets (also called just "sockets").
There are many cross-platform C++ Threading libraries.
IConnectorThreadClient & ctc
reference to ConnectorThread's client
class LOG4CPLUS_EXPORT ConnectorThread
This class is used by SocketAppender and (remote) SysLogAppender to provide asynchronous re-connectio...
Interface implemented by users of ConnectorThread.
thread::ManualResetEvent trigger_ev
This event is the re-connection trigger.
bool exit_flag
When this variable set to true when ConnectorThread is signaled to.