J-Sim v1.2.1-p7 API

drcl.comp
Class ContractMultiple

java.lang.Object
  extended bydrcl.comp.Contract
      extended bydrcl.comp.ContractMultiple

public class ContractMultiple
extends Contract

The class which wraps multiple contracts into one.


Field Summary
 
Fields inherited from class drcl.comp.Contract
Role_INITIATOR, Role_PEER, Role_REACTOR
 
Constructor Summary
ContractMultiple(Contract[] cc_)
           
ContractMultiple(Contract c1_, Contract c2_)
           
ContractMultiple(Contract c1_, Contract c2_, Contract c3_)
           
ContractMultiple(Contract c1_, Contract c2_, Contract c3_, Contract c4_)
           
 
Method Summary
 void add(Contract c_)
           
 void add(Contract[] cc_)
           
 java.lang.Object getContractContent()
          Returns the content of this contract (format?).
 java.lang.String getName()
           
 boolean match(Contract that_)
          Returns true if this contract matches that_.
 
Methods inherited from class drcl.comp.Contract
getRole, setRole
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContractMultiple

public ContractMultiple(Contract c1_,
                        Contract c2_)

ContractMultiple

public ContractMultiple(Contract c1_,
                        Contract c2_,
                        Contract c3_)

ContractMultiple

public ContractMultiple(Contract c1_,
                        Contract c2_,
                        Contract c3_,
                        Contract c4_)

ContractMultiple

public ContractMultiple(Contract[] cc_)
Method Detail

add

public void add(Contract c_)

add

public void add(Contract[] cc_)

match

public boolean match(Contract that_)
Returns true if this contract matches that_.

Overrides:
match in class Contract

getContractContent

public java.lang.Object getContractContent()
Description copied from class: Contract
Returns the content of this contract (format?).

Specified by:
getContractContent in class Contract

getName

public java.lang.String getName()
Specified by:
getName in class Contract

J-Sim v1.2.1-p7 API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~