HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PDG_ServiceOptions Struct Reference

#include <PDG_ServiceOptions.h>

Public Member Functions

 PDG_ServiceOptions ()
 Default initialization. More...
 

Public Attributes

UT_StringHolder myClientLogDir
 The directory to write client logs. More...
 
UT_StringHolder myMQLogDir
 The directory to write MQ logs. More...
 
UT_StringArray myEnvVarNames
 The names of the environment variables to be set. More...
 
UT_StringArray myEnvVarValues
 The values of the environment variables to be set. More...
 
UT_StringArray myExtraArguments
 The extra arg values appended to the end of the services command line. More...
 
int myPoolSize
 The service pool size. More...
 
int myPort
 The listen port. More...
 
int myMQLogLevel
 The service MQ log level. More...
 
int myConnectionTimeout
 The connection timeout, in milliseconds. More...
 
int myMemoryLimit
 The memory limit before a client is reset. More...
 
PDG_ServiceLogType myClientLogType
 The type of logging for clients. More...
 
PDG_ServiceResetType myMemoryResetType
 The memory reset type. More...
 
bool myAutoStart
 whether or not the service should start automatically More...
 
bool myIsPersistent
 

Detailed Description

Configuration options for a service instance, passed to PDG_ServiceManager when registering a new service

Definition at line 19 of file PDG_ServiceOptions.h.

Constructor & Destructor Documentation

PDG_ServiceOptions::PDG_ServiceOptions ( )
inline

Default initialization.

Definition at line 22 of file PDG_ServiceOptions.h.

Member Data Documentation

bool PDG_ServiceOptions::myAutoStart

whether or not the service should start automatically

Definition at line 76 of file PDG_ServiceOptions.h.

UT_StringHolder PDG_ServiceOptions::myClientLogDir

The directory to write client logs.

Definition at line 40 of file PDG_ServiceOptions.h.

PDG_ServiceLogType PDG_ServiceOptions::myClientLogType

The type of logging for clients.

Definition at line 70 of file PDG_ServiceOptions.h.

int PDG_ServiceOptions::myConnectionTimeout

The connection timeout, in milliseconds.

Definition at line 64 of file PDG_ServiceOptions.h.

UT_StringArray PDG_ServiceOptions::myEnvVarNames

The names of the environment variables to be set.

Definition at line 46 of file PDG_ServiceOptions.h.

UT_StringArray PDG_ServiceOptions::myEnvVarValues

The values of the environment variables to be set.

Definition at line 49 of file PDG_ServiceOptions.h.

UT_StringArray PDG_ServiceOptions::myExtraArguments

The extra arg values appended to the end of the services command line.

Definition at line 52 of file PDG_ServiceOptions.h.

bool PDG_ServiceOptions::myIsPersistent

Whether or not the service should persist to the pdgservices JSON file on disk

Definition at line 80 of file PDG_ServiceOptions.h.

int PDG_ServiceOptions::myMemoryLimit

The memory limit before a client is reset.

Definition at line 67 of file PDG_ServiceOptions.h.

PDG_ServiceResetType PDG_ServiceOptions::myMemoryResetType

The memory reset type.

Definition at line 73 of file PDG_ServiceOptions.h.

UT_StringHolder PDG_ServiceOptions::myMQLogDir

The directory to write MQ logs.

Definition at line 43 of file PDG_ServiceOptions.h.

int PDG_ServiceOptions::myMQLogLevel

The service MQ log level.

Definition at line 61 of file PDG_ServiceOptions.h.

int PDG_ServiceOptions::myPoolSize

The service pool size.

Definition at line 55 of file PDG_ServiceOptions.h.

int PDG_ServiceOptions::myPort

The listen port.

Definition at line 58 of file PDG_ServiceOptions.h.


The documentation for this struct was generated from the following file: