zeus.actors.rtn
Class AuditTable
java.lang.Object
zeus.actors.rtn.AuditTable
- public class AuditTable
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CHILD
public static final int CHILD
- See Also:
- Constant Field Values
ROOT
public static final int ROOT
- See Also:
- Constant Field Values
GOAL
protected static final int GOAL
- See Also:
- Constant Field Values
KEY
protected static final int KEY
- See Also:
- Constant Field Values
contracts
protected java.util.Hashtable contracts
auxiliary
protected java.util.Hashtable auxiliary
router
protected java.util.Hashtable router
engine
protected Engine engine
AuditTable
AuditTable(Engine engine)
addProducerRecords
public void addProducerRecords(java.util.Vector records)
- ProducerRecord/ConsumerRecord
-----------------------------
says to agent
expect data from agent
with comms ref and internal ref
do action
allocate data to record
at precondition slot
says to agent
expect data from yourself record
with internal ref [at time , amount , consumed ]
do action
1. send data to agent
with ref
2. Request payment
addConsumerRecords
public void addConsumerRecords(java.util.Vector records)
addRoutingRecord
protected void addRoutingRecord(RoutingRecord rec)
add
public void add(Contract entry)
add
public void add(Goal goal,
java.lang.String key,
double cost,
boolean delivered,
boolean paid,
java.lang.String agent,
java.lang.String owner,
double timeout)
del
public void del(Goal goal)
goodsReceived
public void goodsReceived(DelegationStruct ds)
invoiceReceived
public void invoiceReceived(DelegationStruct ds)
paymentReceived
public void paymentReceived(DelegationStruct ds)
exception
public int exception(DelegationStruct ds)
cancel
public void cancel(DelegationStruct ds)
cancel
public void cancel(java.lang.String goal_id)
enact
public void enact(DelegationStruct ds)
cleanup
protected boolean cleanup(Contract entry)
remove
public java.lang.Object remove(java.lang.Object key)
toString
public java.lang.String toString()
debug
public void debug(java.lang.String str)
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.