Hawk.invokeHawkMethod()

Signature

Object[] invokeHawkMethod(String agentName, String microAgentName, String methodName, SimpleEvent params)

Domain

action, condition, query

Description

Genaric method invoke, using event to carry all the parameters

Parameters

NameTypeDescription
agentNameStringAgent's name
microAgentNameStringMicroagent's name
methodNameStringMethod name
paramsSimpleEventParamters for method invocation

Returns

TypeDescription
Object[]Result of Microagent Method invocation. Notice:The first row is the name array of columns, the second row is the display name array of columns, the following rows are actual data.

Cautions

none