UTILLib 2.0
Common C++ library with utilities.
Loading...
Searching...
No Matches
listenconfig.h File Reference

Defines an interface to the listen configuration shared memory. More...

#include <cstdint>
#include <string>
#include <vector>
Include dependency graph for listenconfig.h:

Go to the source code of this file.

Classes

struct  util::log::ListenPortConfig
 Defines a listen config item in the config memory. More...
class  util::log::ListenConfig
 Implement the shared memory list of listen server configurations. More...

Namespaces

namespace  util
 Main namespace for the util library.
namespace  util::log
 The log namespace is used for log related classes and functions.

Functions

std::vector< ListenPortConfigutil::log::GetListenConfigList ()
 Returns the list of available listen servers.
void util::log::AddListenConfig (const ListenPortConfig &port_config)
 Register a new listen server.
void util::log::DeleteListenConfig (uint16_t port)
 Removes a listen server from the list.

Detailed Description

The file implements amn interface against the listen configuration shared memory. This memory is shared among all application a specific computer. It is created by the listen daemon application which must be running.