Recent changes Random page
GAMING
Technology
 
Gaming
Entertainment
Science Fiction
Biggest wikis
Hobbies
Music
See more...

Poll

From Indus Communities

Jump to: navigation, search

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
Rate this article:
Share this article: