Poll
From Indus Communities
Polling is similar to Callback but allows an additional parameter specified as t (= time in msecs) at which the invocation on the agent or component is repeated after an interval of 't' msec.
Syntax:
Poll(agent | component.methodName(param_list); variable of method’s return type; t)
{
// business logic
}
where,
- agent and component are instances of type Agent and Component
