| This plugin is an example ping source that sends relays to a remote agent.
There can be multiple copies of this plugin in a single agent, but
every
PingSender must have a unique target. The target is
specified as a plugin parameter:
- target=String
- Required remote agent name. If the agent doesn't exist then we
wait forever -- there's no alarm-based timeout in this plugin
implementation.
- delayMillis=long
- Delay milliseconds between relay iterations. Set the delay to zero
to run the pings as fast as possible.
- verbose=boolean
- Output SHOUT-level logging messages. This can also be disabled
by modifying the Cougaar logging configuration to set:
log4j.category.org.cougaar.demo.ping.PingSender=FATAL
log4j.category.org.cougaar.demo.ping.PingReceiver=FATAL
For simplicity we support this as a plugin parameter, so new users
don't need to configure the logging service. If enabled, also
consider turning off "+/-" message send/receive logging by
setting:
-Dorg.cougaar.core.agent.quiet=true
See Also: PingReceiver See Also: Required plugin for every agent that will receive See Also: ping relays. See Also: PingServlet See Also: Optional browser-based GUI. |