ESA JPIP server  0.1
ClientManager Class Reference

Handles a client connection with a dedicated thread. More...

#include <client_manager.h>

Collaboration diagram for ClientManager:

Public Member Functions

 ClientManager (AppConfig &_cfg, AppInfo &_app_info, IndexManager &_index_manager)
 Initializes the object. More...
 
void Run (ClientInfo *client_info)
 Starts the handling of a client connection. More...
 
void RunBasic (ClientInfo *client_info)
 Starts the handling of a client connection but it does not do anything. More...
 
virtual ~ClientManager ()
 

Private Attributes

AppConfigcfg
 Application configuration. More...
 
AppInfoapp_info
 Application run-time information. More...
 
IndexManagerindex_manager
 Index manager. More...
 

Detailed Description

Handles a client connection with a dedicated thread.

Constructor & Destructor Documentation

ClientManager::ClientManager ( AppConfig _cfg,
AppInfo _app_info,
IndexManager _index_manager 
)
inline

Initializes the object.

Parameters
_cfgApplication configuration.
_app_infoApplication run-time information.
_index_managerIndex manager.
virtual ClientManager::~ClientManager ( )
inlinevirtual

Member Function Documentation

void ClientManager::Run ( ClientInfo client_info)

Starts the handling of a client connection.

Parameters
client_infoClient information.

Here is the call graph for this function:

Here is the caller graph for this function:

void ClientManager::RunBasic ( ClientInfo client_info)

Starts the handling of a client connection but it does not do anything.

This method is used for testing the architecture of the server.

Parameters
client_infoClient information.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

AppInfo& ClientManager::app_info
private

Application run-time information.

AppConfig& ClientManager::cfg
private

Application configuration.

IndexManager& ClientManager::index_manager
private

Index manager.


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