Hawk.invokeHawkMethodOnMutipleAgents()

Signature

Object[] invokeHawkMethodOnMutipleAgents(String[] agentNames, String microAgentName,String methodName, SimpleEvent params)

Domain

ACTION, BUI

Description

Invoke microagent method on mutiple agents

Parameters

NameTypeDescription
agentNamesString[]Agents name list
microAgentNameStringMicroagent's name
methodNameStringMethod name
paramsSimpleEventParamters for method invocation

Returns

TypeDescription
Object[]Result of Microagent Method invocation on multiple agents. Notice: Result contain 2 parts, first part is the name of agent, second part is the result of Microagent Method invocation on this agent

Cautions

none