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 LogControl.cc.

Constructor & Destructor Documentation

◆ LogClient()

zypp::LogClient::LogClient ( )
inline

Definition at line 218 of file LogControl.cc.

◆ ~LogClient()

zypp::LogClient::~LogClient ( )
inline

Definition at line 223 of file LogControl.cc.

Member Function Documentation

◆ ensureConnection()

bool zypp::LogClient::ensureConnection ( )
inline

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 LogControl.cc.

◆ pushMessage()

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

Sends a message to the log thread.

Definition at line 246 of file LogControl.cc.

Member Data Documentation

◆ _sockFD

int zypp::LogClient::_sockFD = -1
private

Definition at line 285 of file LogControl.cc.

◆ inPushMessage

bool zypp::LogClient::inPushMessage = false
private

Definition at line 286 of file LogControl.cc.


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