|
|||||||||||
| 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.tutorial.booksonline.common.BOLComponentPlugin
org.cougaar.tutorial.booksonline.warehouse.WarehouseAllocatorPlugin
WarehouseAllocatorPlugin allocates books currently in inventory to a packer to pack and decrements the inventory. If not enough inventory, will allocate as much from inventory as possible, then request a drop shipment to the customer directly from the publisher
| Nested Class Summary |
| Nested classes inherited from class org.cougaar.tutorial.booksonline.common.BOLComponentPlugin |
BOLComponentPlugin.PluginAlarm |
| Nested classes inherited from class org.cougaar.core.blackboard.BlackboardClient |
org.cougaar.core.blackboard.BlackboardClient.Local |
| Field Summary | |
static double |
packerTime
Time for packer to pack book |
| 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 | |
WarehouseAllocatorPlugin()
|
|
| Method Summary | |
void |
execute()
Process Subscriptions |
void |
load()
Load componet, get DatbaseService and PrototypeRegistryService |
void |
setupSubscriptions()
Setup subscriptions to tasks from warehouse to pack books |
| Methods inherited from class org.cougaar.tutorial.booksonline.common.BOLComponentPlugin |
getDomainService, setDomainService, setLoggingService, setUIDService, wakeAfter |
| Methods inherited from class org.cougaar.core.blackboard.BlackboardClientComponent |
currentTimeMillis, getBlackboardClientName, getParameter, getParameters, halt, initialize, resume, setAgentIdentificationService, setAlarmService, setBindingSite, setBlackboardService, setParameter, setSchedulerService, start, stop, suspend, toString, unload |
| Methods inherited from class org.cougaar.util.GenericStateModelAdapter |
getModelState |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.cougaar.util.GenericStateModel |
getModelState, halt, initialize, resume, start, stop, suspend, unload |
| Field Detail |
public static double packerTime
| Constructor Detail |
public WarehouseAllocatorPlugin()
| Method Detail |
public void load()
public void setupSubscriptions()
public void execute()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||