|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.cougaar.util.GenericStateModelAdapter
org.cougaar.core.blackboard.BlackboardClientComponent
org.cougaar.core.plugin.ComponentPlugin
org.cougaar.core.plugin.ParameterizedPlugin
org.cougaar.core.plugin.AnnotatedSubscriptionsPlugin
org.cougaar.demo.ping.PingReceiver
public class PingReceiver
This plugin is an example ping target that receives relays and sends back a reply.
A "verbose=boolean" plugin parameter and System property is
supported, exactly as documented in PingSender.
There must be one instance of this plugin in every agent that will receive
PingSender relays. For simplicity, it's easiest to load a copy of
this plugin into every agent.
Remote plugin that sends the ping relays to this plugin,
Optional browser-based GUI.
| org.cougaar.demo.ping.PingReceiver.verbose=true | PingReceiver should output SHOUT-level logging messages, if not set as a plugin parameter. |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.cougaar.core.blackboard.BlackboardClient |
|---|
org.cougaar.core.blackboard.BlackboardClient.Local |
| Field Summary | |
|---|---|
boolean |
verbose
|
| Fields inherited from class org.cougaar.core.plugin.ParameterizedPlugin |
|---|
args, log, uids |
| Fields inherited from class org.cougaar.core.blackboard.BlackboardClientComponent |
|---|
agentId, agentIdentificationService, alarmService, blackboard, blackboardClientName |
| Fields inherited from interface org.cougaar.core.plugin.PluginBase |
|---|
INSERTION_POINT |
| Fields inherited from interface org.cougaar.util.GenericStateModel |
|---|
ACTIVE, IDLE, LOADED, UNINITIALIZED, UNLOADED |
| Fields inherited from interface org.cougaar.core.blackboard.BlackboardClient |
|---|
current |
| Constructor Summary | |
|---|---|
PingReceiver()
|
|
| Method Summary | |
|---|---|
void |
executeRelay(org.cougaar.core.relay.SimpleRelay relay)
|
boolean |
isRelayForAgent(org.cougaar.core.relay.SimpleRelay relay)
|
| Methods inherited from class org.cougaar.core.plugin.AnnotatedSubscriptionsPlugin |
|---|
execute, getSubscription, setupSubscriptions |
| Methods inherited from class org.cougaar.core.plugin.ParameterizedPlugin |
|---|
getParameter, getParameter, getParameter, getParameter, getParameterMap, getParameterValues, setArguments |
| Methods inherited from class org.cougaar.core.plugin.ComponentPlugin |
|---|
getConfigFinder |
| Methods inherited from class org.cougaar.core.blackboard.BlackboardClientComponent |
|---|
currentTimeMillis, cycle, getAgentIdentifier, getAlarmService, getBindingSite, getBlackboardClientName, getBlackboardService, getMessageAddress, getParameter, getParameters, getServiceBroker, halt, load, precycle, requestCycle, resume, setAgentIdentificationService, setAlarmService, setBindingSite, setBlackboardService, setParameter, setSchedulerService, setServiceBroker, setSuicideService, shouldExecute, start, stop, suspend, toString, unload, wasAwakened |
| Methods inherited from class org.cougaar.util.GenericStateModelAdapter |
|---|
getModelState, initialize, transitState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.cougaar.util.GenericStateModel |
|---|
getModelState, halt, initialize, load, resume, start, stop, suspend, unload |
| Field Detail |
|---|
public boolean verbose
| Constructor Detail |
|---|
public PingReceiver()
| Method Detail |
|---|
public void executeRelay(org.cougaar.core.relay.SimpleRelay relay)
public boolean isRelayForAgent(org.cougaar.core.relay.SimpleRelay relay)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||