ESA JPIP server  0.1
client_manager.h
Go to the documentation of this file.
1 #ifndef _CLIENT_MANAGER_H_
2 #define _CLIENT_MANAGER_H_
3 
4 
5 #include "app_info.h"
6 #include "app_config.h"
7 #include "client_info.h"
9 
10 
11 using namespace jpeg2000;
12 
13 
19 {
20 private:
24 
25 public:
33  AppConfig& _cfg,
34  AppInfo& _app_info,
35  IndexManager& _index_manager)
36  : cfg(_cfg), app_info(_app_info), index_manager(_index_manager)
37  {
38  }
39 
44  void Run(ClientInfo *client_info);
45 
53  void RunBasic(ClientInfo *client_info);
54 
55 
56  virtual ~ClientManager()
57  {
58  }
59 };
60 
61 
62 #endif /* _CLIENT_MANAGER_H_ */
AppInfo & app_info
Application run-time information.
Definition: client_manager.h:22
Manages the indexing information of a repository fo images.
Definition: index_manager.h:25
virtual ~ClientManager()
Definition: client_manager.h:56
AppInfo app_info
Definition: esa_jpip_server.cc:40
Contains the run-time information of the application.
Definition: app_info.h:21
Contains information of a connected client.
Definition: client_info.h:11
Contains the configuration parameters of the application.
Definition: app_config.h:18
AppConfig cfg
Definition: esa_jpip_server.cc:38
AppConfig & cfg
Application configuration.
Definition: client_manager.h:21
ClientManager(AppConfig &_cfg, AppInfo &_app_info, IndexManager &_index_manager)
Initializes the object.
Definition: client_manager.h:32
Handles a client connection with a dedicated thread.
Definition: client_manager.h:18
IndexManager & index_manager
Index manager.
Definition: client_manager.h:23
IndexManager index_manager
Definition: esa_jpip_server.cc:44