7#ifndef UNIX_CONTROL_CLIENT_H 
    8#define UNIX_CONTROL_CLIENT_H 
   50    bool getResponse(std::string& response, 
const unsigned int timeout_sec = 0);
 
   58    int selectCheck(
const unsigned int timeout_sec, 
bool read_check, 
bool write_check);
 
 
UnixControlClient()
Default constructor.
void disconnectFromServer()
Closes the Control Channel socket.
~UnixControlClient()
Destructor.
int socket_fd_
Retains the fd of the open socket.
int selectCheck(const unsigned int timeout_sec, bool read_check, bool write_check)
Uses select to poll the Control Channel for data waiting.
bool getResponse(std::string &response, const unsigned int timeout_sec=0)
Reads the response text from the open Control Channel.
bool sendCommand(const std::string &command)
Sends the given command across the open Control Channel.
bool connectToServer(const std::string &socket_path)
Connects to a Unix socket at the given path.
Defines the logger used by the top-level component of kea-lfc.