Qorus Integration Engine®  4.0.3_git
com.qoretechnologies.qorus.test.CallService Class Reference

Call a Qorus service method. More...

Inheritance diagram for com.qoretechnologies.qorus.test.CallService:
com.qoretechnologies.qorus.test.Action org::qore::jni::QoreObjectWrapper

Public Member Methods

 CallService (String call, Object... args) throws Throwable
 call a service method with the given args More...
 
 CallService (String call) throws Throwable
 call a service method with no arguments More...
 
 CallService (String service, String method, Object... args) throws Throwable
 call a service method with the given args More...
 
 CallService (String service, String method) throws Throwable
 call a service method with no arguments More...
 
Object run (QorusInterfaceTest t) throws Throwable
 calls the service method More...
 
Object getResult () throws Throwable
 Returns anything that the service method returned in the run() call.
 

Additional Inherited Members

- Private Member Methods inherited from com.qoretechnologies.qorus.test.Action
 Action (QoreObject obj)
 protected constructor to create the wrapper object
 

Detailed Description

Call a Qorus service method.

Constructor & Destructor Documentation

◆ CallService() [1/4]

com.qoretechnologies.qorus.test.CallService.CallService ( String  call,
Object...  args 
) throws Throwable
inline

call a service method with the given args

Parameters
calla service identifier string in a name.method form
argsany additional arguments are used as service method arguments
// call system service method fs.ls("/tmp")
CallService call("fs.ls", "/tmp");

◆ CallService() [2/4]

com.qoretechnologies.qorus.test.CallService.CallService ( String  call) throws Throwable
inline

call a service method with no arguments

Parameters
calla service identifier string in a name.method form.

◆ CallService() [3/4]

com.qoretechnologies.qorus.test.CallService.CallService ( String  service,
String  method,
Object...  args 
) throws Throwable
inline

call a service method with the given args

Parameters
servicethe name of the service
methodthe method to call
argsany additional arguments are used as service method arguments

Any additional arguments are used as service method arguments.

// call system service method fs.ls("/tmp")
CallService call("fs", "ls", "/tmp");

◆ CallService() [4/4]

com.qoretechnologies.qorus.test.CallService.CallService ( String  service,
String  method 
) throws Throwable
inline

call a service method with no arguments

Parameters
servicethe name of the service
methodthe method to call

Member Function Documentation

◆ run()

Object com.qoretechnologies.qorus.test.CallService.run ( QorusInterfaceTest  t) throws Throwable
inline

calls the service method

Parameters
tQorusInterfaceTest test object

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