DRCL J-Sim API

drcl.comp
Class ContractAny

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

public class ContractAny
extends Contract

The contract that matches any contract.


Field Summary
static ContractAny INSTANCE
           
 
Fields inherited from class drcl.comp.Contract
Role_INITIATOR, Role_PEER, Role_REACTOR
 
Constructor Summary
ContractAny()
           
 
Method Summary
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ContractAny INSTANCE
Constructor Detail

ContractAny

public ContractAny()
Method Detail

match

public boolean match(Contract that_)
Description copied from class: Contract
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

DRCL J-Sim API

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