log4cplus_helpers_IConnectorThreadClient(3)

log4cplus::helpers::IConnectorThreadClient(3) log4cplus log4cplus::helpers::IConnectorThreadClient(3)

NAME

log4cplus::helpers::IConnectorThreadClient - Interface implemented by users of ConnectorThread.

SYNOPSIS

#include <connectorthread.h>

Inherited by log4cplus::SocketAppender [protected, virtual], and log4cplus::SysLogAppender [protected, virtual].

Protected Member Functions


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

Friends


class LOG4CPLUS_EXPORT ConnectorThread

Detailed Description

Interface implemented by users of ConnectorThread.

Definition at line 47 of file connectorthread.h.

Constructor & Destructor Documentation

virtual log4cplus::helpers::IConnectorThreadClient::~IConnectorThreadClient () [protected], [virtual]

Member Function Documentation

virtual helpers::Socket log4cplus::helpers::IConnectorThreadClient::ctcConnect () [protected], [pure virtual]

Returns

ConnectorThread client's function returning connected socket.

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

virtual const thread::Mutex& log4cplus::helpers::IConnectorThreadClient::ctcGetAccessMutex () const [protected], [pure virtual]

Returns

Mutex for synchronization between ConnectorThread and its client object. This is usually SharedObject::access_mutex.

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

virtual helpers::Socket& log4cplus::helpers::IConnectorThreadClient::ctcGetSocket () [protected], [pure virtual]

Returns

Socket variable in ConnectorThread client to maintain.

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

virtual void log4cplus::helpers::IConnectorThreadClient::ctcSetConnected () [protected], [pure virtual]

Sets connected flag to true in ConnectorThread's client.

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

Friends And Related Function Documentation

friend class LOG4CPLUS_EXPORT ConnectorThread [friend]

Definition at line 66 of file connectorthread.h.

Author

Generated automatically by Doxygen for log4cplus from the source code.

Fri Jun 18 2021 Version 2.0.6