libzypp 17.31.23
zypp::LogClient Class Reference

Public Member Functions

 LogClient ()
 ~LogClient ()
bool ensureConnection ()
void pushMessage (std::string &&msg)

Private Attributes

int _sockFD = -1
bool inPushMessage = false

Detailed Description

Definition at line 215 of file

Constructor & Destructor Documentation

◆ LogClient()

zypp::LogClient::LogClient ( )

Definition at line 218 of file

◆ ~LogClient()

zypp::LogClient::~LogClient ( )

Definition at line 223 of file

Member Function Documentation

◆ ensureConnection()

bool zypp::LogClient::ensureConnection ( )

Tries to connect to the log threads socket, returns true on success or if the socket is already connected

Definition at line 231 of file

◆ pushMessage()

void zypp::LogClient::pushMessage ( std::string &&  msg)

Sends a message to the log thread.

Definition at line 246 of file

Member Data Documentation

◆ _sockFD

int zypp::LogClient::_sockFD = -1

Definition at line 285 of file

◆ inPushMessage

bool zypp::LogClient::inPushMessage = false

Definition at line 286 of file

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