#include <Vector.hpp>#include <Properties.hpp>#include <NdbOut.hpp>#include <NdbThread.h>#include <NdbCondition.h>#include <BaseString.hpp>Include dependency graph for CPCD.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | CPCEvent |
| struct | EventSubscriber |
| class | CPCD |
| Manages processes, letting them be controlled with a TCP connection. More... | |
| class | CPCD::RequestStatus |
| Describes the status of a client request. More... | |
| class | CPCD::Process |
| Manages a process. More... | |
| class | CPCD::Monitor |
| Starts and stops processes as needed. More... | |
Defines | |
| #define | CPCD_DEFAULT_WORK_DIR "/var/run/ndb_cpcd" |
| #define | CPCD_DEFAULT_PROC_FILE "ndb_cpcd.conf" |
| #define | CPCD_DEFAULT_TCP_PORT 1234 |
| #define | CPCD_DEFAULT_POLLING_INTERVAL 5 |
| #define | CPCD_DEFAULT_CONFIG_FILE "/etc/ndb_cpcd.conf" |
Enumerations | |
| enum | ProcessStatus { STOPPED = 0, STARTING = 1, RUNNING = 2, STOPPING = 3 } |
| enum | ProcessType { PERMANENT = 0, TEMPORARY = 1 } |
| enum | RequestStatusCode { OK = 0, Error = 1, AlreadyExists = 2, NotExists = 3, AlreadyStopped = 4 } |
| Error codes for CPCD requests. More... | |
| enum ProcessStatus |
| enum ProcessType |
| enum RequestStatusCode |
Error codes for CPCD requests.
| OK | Everything OK. |
| Error | Generic error. |
| AlreadyExists | Entry already exists in list. |
| NotExists | Entry does not exist in list. |
| AlreadyStopped |
Definition at line 71 of file CPCD.hpp.
00071 { 00072 OK = 0, 00073 Error = 1, 00074 AlreadyExists = 2, 00075 NotExists = 3, 00076 AlreadyStopped = 4 00077 };
1.4.7

