Qorus Integration Engine® Enterprise Edition 7.1.0_prod
Loading...
Searching...
No Matches
QorusServiceTest Class Reference

service test class More...

Inherits QorusInterfaceTest.

Public Member Methods

 constructor (string name, string svc_type="user", reference< auto > p_argv, *hash< auto > opts)
 creates the object from the arguments
 
 constructor (string name, string svc_type="user", *list< auto > p_argv, *hash< auto > opts)
 creates the object from the arguments
 
 constructor (string name, string svc_type="user", hash< auto > opts)
 creates the object from the arguments
 
 constructor (string name, string svc_type="user")
 creates the object from the arguments
 
string getLogFileName ()
 returns the log file name for the current object
 
bool canRun ()
 checks if the interface can run
 

Private Attributes

string m_svc_type
 the type of service
 

Detailed Description

service test class

Member Function Documentation

◆ constructor() [1/4]

QorusServiceTest::constructor ( string  name,
string  svc_type = "user" 
)

creates the object from the arguments

the version number is not given because it's only possible to test the latest version of the service in any case

Parameters
namethe service name
svc_typethe service type:
  • "user": the default
  • "system": only for testing system services

◆ constructor() [2/4]

QorusServiceTest::constructor ( string  name,
string  svc_type = "user",
*list< auto >  p_argv,
*hash< auto >  opts 
)

creates the object from the arguments

the version number is not given because it's only possible to test the latest version of the service in any case

Parameters
namethe service name
svc_typethe service type:
  • "user": the default
  • "system": only for testing system services
p_argvan optional reference to command-line arguments to process
optsan optional option hash for Qore::GetOpt::constructor()

◆ constructor() [3/4]

QorusServiceTest::constructor ( string  name,
string  svc_type = "user",
hash< auto >  opts 
)

creates the object from the arguments

the version number is not given because it's only possible to test the latest version of the service in any case

Parameters
namethe service name
svc_typethe service type:
  • "user": the default
  • "system": only for testing system services
optsan optional option hash for Qore::GetOpt::constructor()

◆ constructor() [4/4]

QorusServiceTest::constructor ( string  name,
string  svc_type = "user",
reference< auto >  p_argv,
*hash< auto >  opts 
)

creates the object from the arguments

the version number is not given because it's only possible to test the latest version of the service in any case

Parameters
namethe service name
svc_typethe service type:
  • "user": the default
  • "system": only for testing system services
p_argvan optional reference to command-line arguments to process
optsan optional option hash for Qore::GetOpt::constructor()

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