zeus.actors.rtn
Class AuditTable

java.lang.Object
  extended byzeus.actors.rtn.AuditTable

public class AuditTable
extends java.lang.Object


Field Summary
protected  java.util.Hashtable auxiliary
           
static int CHILD
           
protected  java.util.Hashtable contracts
           
protected  Engine engine
           
protected static int GOAL
           
protected static int KEY
           
static int ROOT
           
protected  java.util.Hashtable router
           
 
Constructor Summary
(package private) AuditTable(Engine engine)
           
 
Method Summary
 void add(Contract entry)
           
 void add(Goal goal, java.lang.String key, double cost, boolean delivered, boolean paid, java.lang.String agent, java.lang.String owner, double timeout)
           
 void addConsumerRecords(java.util.Vector records)
           
 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.
protected  void addRoutingRecord(RoutingRecord rec)
           
 void cancel(DelegationStruct ds)
           
 void cancel(java.lang.String goal_id)
           
protected  boolean cleanup(Contract entry)
           
 void debug(java.lang.String str)
           
 void del(Goal goal)
           
 void enact(DelegationStruct ds)
           
 int exception(DelegationStruct ds)
           
 void goodsReceived(DelegationStruct ds)
           
 void invoiceReceived(DelegationStruct ds)
           
 void paymentReceived(DelegationStruct ds)
           
 java.lang.Object remove(java.lang.Object key)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

AuditTable

AuditTable(Engine engine)
Method Detail

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.