Hawk.invokeHawkMethodOnAllAgents()

Signature

Object[] invokeHawkMethodOnAllAgents(String microAgentName, String methodName, SimpleEvent params)

Domain

action, condition, query

Description

Invoke microagent method on all available agents

Parameters

NameTypeDescription
microAgentNameStringMicroagent's name
methodNameStringMethod name
paramsSimpleEventParamters for method invocation

Returns

TypeDescription
Object[]Result of Microagent Method invocation on all 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