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...
 
UT_StringHolder mySchedulerTypeName
 
UT_StringHolder mySchedulerName
 
UT_StringHolder mySchedulerContextName
 
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...
 
exint 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...
 
PDG_ServiceSchedulerType myServiceSchedulerType
 The service scheduler type, if the service is a scheduler-owned service. 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 92 of file PDG_ServiceOptions.h.

UT_StringHolder PDG_ServiceOptions::myClientLogDir

The directory to write client logs.

Definition at line 41 of file PDG_ServiceOptions.h.

PDG_ServiceLogType PDG_ServiceOptions::myClientLogType

The type of logging for clients.

Definition at line 83 of file PDG_ServiceOptions.h.

int PDG_ServiceOptions::myConnectionTimeout

The connection timeout, in milliseconds.

Definition at line 77 of file PDG_ServiceOptions.h.

UT_StringArray PDG_ServiceOptions::myEnvVarNames

The names of the environment variables to be set.

Definition at line 47 of file PDG_ServiceOptions.h.

UT_StringArray PDG_ServiceOptions::myEnvVarValues

The values of the environment variables to be set.

Definition at line 50 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 53 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 96 of file PDG_ServiceOptions.h.

exint PDG_ServiceOptions::myMemoryLimit

The memory limit before a client is reset.

Definition at line 80 of file PDG_ServiceOptions.h.

PDG_ServiceResetType PDG_ServiceOptions::myMemoryResetType

The memory reset type.

Definition at line 86 of file PDG_ServiceOptions.h.

UT_StringHolder PDG_ServiceOptions::myMQLogDir

The directory to write MQ logs.

Definition at line 44 of file PDG_ServiceOptions.h.

int PDG_ServiceOptions::myMQLogLevel

The service MQ log level.

Definition at line 74 of file PDG_ServiceOptions.h.

int PDG_ServiceOptions::myPoolSize

The service pool size.

Definition at line 68 of file PDG_ServiceOptions.h.

int PDG_ServiceOptions::myPort

The listen port.

Definition at line 71 of file PDG_ServiceOptions.h.

UT_StringHolder PDG_ServiceOptions::mySchedulerContextName

The name of the scheduler instance's graph context, when the service scheduler type is Instance

Definition at line 65 of file PDG_ServiceOptions.h.

UT_StringHolder PDG_ServiceOptions::mySchedulerName

The name of the scheduler instance, when the service scheduler type is Instance

Definition at line 61 of file PDG_ServiceOptions.h.

UT_StringHolder PDG_ServiceOptions::mySchedulerTypeName

The name of the scheduler type, when the service scheduler type is First of Type

Definition at line 57 of file PDG_ServiceOptions.h.

PDG_ServiceSchedulerType PDG_ServiceOptions::myServiceSchedulerType

The service scheduler type, if the service is a scheduler-owned service.

Definition at line 89 of file PDG_ServiceOptions.h.


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