drcl.comp
Class Contract
java.lang.Object
|
+--drcl.comp.Contract
- Direct Known Subclasses:
- ActiveQueueContract, ByteStreamContract, ConfigSwitch, ContractAny, ContractMultiple, DatagramContract, DebugContract, DoubleEventContract, ErrorContract, EventContract, GarbageContract, IDConfig, IDLookup, IFQuery, McastHostEvent, NeighborEvent, PktDelivery, PktSending, PropertyContract, RTConfig, RTLookup, SchedulerConfig, ShellContract, SocketContract, TraceContract
- public abstract class Contract
- extends java.lang.Object
The base class for describing a contract.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Role_INITIATOR
public static final int Role_INITIATOR
Role_PEER
public static final int Role_PEER
Role_REACTOR
public static final int Role_REACTOR
Contract
public Contract()
Contract
public Contract(int role_)
setRole
public void setRole(int role_)
getRole
public int getRole()
match
public boolean match(Contract that_)
- Returns true if this contract matches
that_.
getName
public abstract java.lang.String getName()
getContractContent
public abstract java.lang.Object getContractContent()
- Returns the content of this contract (format?).
Copyright © 2001 - DRCL, OSU ~ Back to JavaSim Home ~