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 thread::Mutex const & 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::SocketAppender, and log4cplus::SysLogAppender.

virtual thread::Mutex const & 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::SocketAppender, and log4cplus::SysLogAppender.

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

Returns

Socket variable in ConnectorThread client to maintain.

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

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

Sets connected flag to true in ConnectorThread's client.

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

Friends And Related Symbol 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.

Mon Jun 5 2023 21:46:10 Version 2.0.7