Public Member Functions | |
| String | toString () |
Package Functions | |
| OutCommandTable () | |
| OutCommandHandle | addElement (AgentId target, CommandMonitor monitor) |
| boolean | removeElement (OutCommandHandle handle) |
| OutCommandHandle | getElement (int id) |
| OutCommandHandle | getElement (Monitor monitor) |
Package Attributes | |
| Vector | list |
| int | count |
Table of OutCommandHandle entries with various accessors by value. Includes member count to allocate command identifiers. Identifier 0 is reserved to indicate a null identifier.
Definition at line 359 of file MonitorAgent.java.
| com.scalagent.scheduler.monitor.OutCommandTable.OutCommandTable | ( | ) | [package] |
Constructor.
Definition at line 368 of file MonitorAgent.java.
References com.scalagent.scheduler.monitor.OutCommandTable.count, and com.scalagent.scheduler.monitor.OutCommandTable.list.
| String com.scalagent.scheduler.monitor.OutCommandTable.toString | ( | ) |
Provides a string image for this object.
Definition at line 378 of file MonitorAgent.java.
References com.scalagent.scheduler.monitor.OutCommandTable.count, and com.scalagent.scheduler.monitor.OutCommandTable.list.
| OutCommandHandle com.scalagent.scheduler.monitor.OutCommandTable.addElement | ( | AgentId | target, | |
| CommandMonitor | monitor | |||
| ) | [package] |
Creates a new entry and inserts it in this object. Allocates a command identifier.
| target | target agent identifier | |
| monitor | monitor issuing command |
Definition at line 392 of file MonitorAgent.java.
References com.scalagent.scheduler.monitor.OutCommandTable.count, and com.scalagent.scheduler.monitor.OutCommandTable.list.
Referenced by com.scalagent.scheduler.monitor.MonitorAgent.sendTo().
| boolean com.scalagent.scheduler.monitor.OutCommandTable.removeElement | ( | OutCommandHandle | handle | ) | [package] |
Removes entry.
| handle | entry to remove |
true if element was in vector, false otherwise Definition at line 407 of file MonitorAgent.java.
References com.scalagent.scheduler.monitor.OutCommandTable.list.
Referenced by com.scalagent.scheduler.monitor.MonitorAgent.childReport().
| OutCommandHandle com.scalagent.scheduler.monitor.OutCommandTable.getElement | ( | int | id | ) | [package] |
Gets an entry by id.
| id | command identifier local to source agent |
Definition at line 422 of file MonitorAgent.java.
References com.scalagent.scheduler.monitor.OutCommandTable.list.
Referenced by com.scalagent.scheduler.monitor.MonitorAgent.childReport(), and com.scalagent.scheduler.monitor.MonitorAgent.react().
| OutCommandHandle com.scalagent.scheduler.monitor.OutCommandTable.getElement | ( | Monitor | monitor | ) | [package] |
Gets an entry by monitor.
| monitor | monitor issuing command |
Definition at line 439 of file MonitorAgent.java.
References com.scalagent.scheduler.monitor.OutCommandTable.list.
Vector com.scalagent.scheduler.monitor.OutCommandTable.list [package] |
list of OutCommandHandle entries
Definition at line 361 of file MonitorAgent.java.
Referenced by com.scalagent.scheduler.monitor.OutCommandTable.addElement(), com.scalagent.scheduler.monitor.OutCommandTable.getElement(), com.scalagent.scheduler.monitor.OutCommandTable.OutCommandTable(), com.scalagent.scheduler.monitor.OutCommandTable.removeElement(), and com.scalagent.scheduler.monitor.OutCommandTable.toString().
int com.scalagent.scheduler.monitor.OutCommandTable.count [package] |
top command identifier
Definition at line 363 of file MonitorAgent.java.
Referenced by com.scalagent.scheduler.monitor.OutCommandTable.addElement(), com.scalagent.scheduler.monitor.OutCommandTable.OutCommandTable(), and com.scalagent.scheduler.monitor.OutCommandTable.toString().
1.5.0