log4cplus  2.1.0
Protected Member Functions | Friends | List of all members
log4cplus::helpers::IConnectorThreadClient Class Referenceabstract

Interface implemented by users of ConnectorThread. More...

#include <connectorthread.h>

Inheritance diagram for log4cplus::helpers::IConnectorThreadClient:
[legend]

Protected Member Functions

virtual ~IConnectorThreadClient ()
 
virtual thread::Mutex const & ctcGetAccessMutex () const =0
 
virtual helpers::SocketctcGetSocket ()=0
 
virtual helpers::Socket ctcConnect ()=0
 
virtual void ctcSetConnected ()=0
 Sets connected flag to true in ConnectorThread's client. More...
 

Friends

class LOG4CPLUS_EXPORT ConnectorThread
 

Detailed Description

Interface implemented by users of ConnectorThread.

Definition at line 47 of file connectorthread.h.

Constructor & Destructor Documentation

◆ ~IConnectorThreadClient()

virtual log4cplus::helpers::IConnectorThreadClient::~IConnectorThreadClient ( )
protectedvirtual

Member Function Documentation

◆ ctcConnect()

virtual helpers::Socket log4cplus::helpers::IConnectorThreadClient::ctcConnect ( )
protectedpure virtual
Returns
ConnectorThread client's function returning connected socket.

Implemented in log4cplus::SysLogAppender, and log4cplus::SocketAppender.

◆ ctcGetAccessMutex()

virtual thread::Mutex const& log4cplus::helpers::IConnectorThreadClient::ctcGetAccessMutex ( ) const
protectedpure virtual
Returns
Mutex for synchronization between ConnectorThread and its client object. This is usually SharedObject::access_mutex.

Implemented in log4cplus::SysLogAppender, and log4cplus::SocketAppender.

◆ ctcGetSocket()

virtual helpers::Socket& log4cplus::helpers::IConnectorThreadClient::ctcGetSocket ( )
protectedpure virtual
Returns
Socket variable in ConnectorThread client to maintain.

Implemented in log4cplus::SysLogAppender, and log4cplus::SocketAppender.

◆ ctcSetConnected()

virtual void log4cplus::helpers::IConnectorThreadClient::ctcSetConnected ( )
protectedpure virtual

Sets connected flag to true in ConnectorThread's client.

Implemented in log4cplus::SysLogAppender, and log4cplus::SocketAppender.

Friends And Related Function Documentation

◆ ConnectorThread

friend class LOG4CPLUS_EXPORT ConnectorThread
friend

Definition at line 66 of file connectorthread.h.


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