hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
hce-node application
HCE project node model
Namespaces
Classes
Files
File List
sources
src
Admin.cpp
Admin.hpp
AdminClientsSerializator.cpp
AdminClientsSerializator.hpp
AdminCommandParameters.cpp
AdminCommandParameters.hpp
CalculatorNodeExecution.cpp
CalculatorNodeExecution.hpp
ClientsQueueManager.hpp
ClientWorkerItem.cpp
ClientWorkerItem.hpp
DataClientData.cpp
DataClientData.hpp
DataClientProxy.cpp
DataClientProxy.hpp
DataNodeOptions.cpp
DataNodeOptions.hpp
DataProcessorData.cpp
DataProcessorData.hpp
DataReducerProxy.cpp
DataReducerProxy.hpp
DataServerProxy.cpp
DataServerProxy.hpp
Dictionary.hpp
Handler.hpp
HandlerProperties.cpp
HandlerProperties.hpp
HandlerTypes.hpp
LoggerConfigLoader.cpp
LoggerConfigLoader.hpp
main.cpp
main.hpp
ResourceUsageLimitsChecker.cpp
ResourceUsageLimitsChecker.hpp
ResourceUsageManager.cpp
ResourceUsageManager.hpp
RouterServerProxy.cpp
RouterServerProxy.hpp
ServiceMessages.cpp
ServiceMessages.hpp
zhelpers.hpp
zmq.hpp
zmsg.hpp
utils
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Admin.hpp
Go to the documentation of this file.
1
16
#ifndef __HCE_ADMIN_INCLUDED__
17
#define __HCE_ADMIN_INCLUDED__
18
19
#include <sstream>
20
#include <map>
21
22
#include "
Handler.hpp
"
23
24
namespace
HCE {
25
namespace
handlers {
26
27
class
Admin
:
public
HCE::handlers::Handler
{
28
public
:
29
Admin
(std::string
name
,
zmq::context_t
& ctx,
30
const
std::string& clientIdentity, std::string connectionString,
31
int64_t startedAt,
unsigned
char
logPriority,
const
std::string& iniFile=
""
);
32
~Admin
();
33
void
stopClients
(
void
);
34
35
protected
:
36
int
initialize
(
void
);
37
void
deinitialize
(
void
);
38
void
*
process
(
void
);
39
40
void
handleInternalMessage
(
void
);
41
void
handleExternalMessage
(
void
);
42
43
void
processDataMessage
(
zmsg
& msg);
44
45
void
processControlMessageInproc
(
zmsg
& msg);
46
void
processDataMessageInproc
(
zmsg
& msg);
47
void
registerClientInproc
(
const
std::string& identity);
48
49
unsigned
char
processAdminRequest
(
zmsg
& msg);
50
static
std::vector<std::string>
parseAdminRequest
(
const
std::string&
command
);
51
std::string
processAdminCommands
(std::string& command, std::string& parameters);
52
54
std::string
getPropertyInformation
(
void
);
55
57
void
setStatRequestsTotal
(
unsigned
int
statRequestsTotal);
59
unsigned
int
getStatRequestsTotal
(
void
);
60
62
zmq::socket_t
*
_adminServerSock
;
63
65
std::vector<ClientWorkerItem>
_queueInproc
;
67
ClientsQueueManager
*
_clientsManagerInproc
;
68
};
69
}
70
}
71
72
#endif
/* __HCE_ADMIN_INCLUDED__ */
sources
src
Admin.hpp
Generated on Tue Jun 30 2015 19:42:08 for hce-node application by
1.8.1.2