zeus.actors.rtn.util
Class DelegationStruct

java.lang.Object
  extended byzeus.actors.rtn.util.DelegationStruct

public class DelegationStruct
extends java.lang.Object

This structure holds contract related information being communicated between two agents. During the contracting phase, the information will mostly realate to the evolving stages of the contract (e.g. call, proposal, counter, accept, etc.). Following the contracting phase, and during the execution/monitoring phase the information will relate to deliverables, payment, invoice, exceptions, etc.


Field Summary
 java.lang.String agent
          The agent sending the message
 java.util.Vector goals
          A vector containing: (a) the goals, during contracting phase, and (b) facts, during the execution/monitoring phase.
 java.lang.String key
          The delegation reference that uniquely identifies the goal/contract
 java.lang.String msg_type
          The type of message, e.g. cfp, propose, accept, reject, etc.
 
Constructor Summary
DelegationStruct(java.lang.String agent, java.lang.String type, java.lang.String key, Fact goal)
           
DelegationStruct(java.lang.String agent, java.lang.String type, java.lang.String key, Goal goal)
           
DelegationStruct(java.lang.String agent, java.lang.String type, java.lang.String key, java.util.Vector goals)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

agent

public java.lang.String agent
The agent sending the message


msg_type

public java.lang.String msg_type
The type of message, e.g. cfp, propose, accept, reject, etc.


key

public java.lang.String key
The delegation reference that uniquely identifies the goal/contract


goals

public java.util.Vector goals
A vector containing: (a) the goals, during contracting phase, and (b) facts, during the execution/monitoring phase.

Constructor Detail

DelegationStruct

public DelegationStruct(java.lang.String agent,
                        java.lang.String type,
                        java.lang.String key,
                        java.util.Vector goals)

DelegationStruct

public DelegationStruct(java.lang.String agent,
                        java.lang.String type,
                        java.lang.String key,
                        Goal goal)

DelegationStruct

public DelegationStruct(java.lang.String agent,
                        java.lang.String type,
                        java.lang.String key,
                        Fact goal)
Method Detail

toString

public java.lang.String toString()


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.