drcl.comp.contract
Class DebugContract
java.lang.Object
drcl.comp.Contract
drcl.comp.contract.DebugContract
- public class DebugContract
- extends Contract
Defines the format of the debug message exported by a
component and provides utility methods
to retrieve individual fields in such a message.
A debug message contains the following fields:
| FIELD | TYPE | DESCRIPTION |
| Time
| double
| Time when this message is exported.
|
| Where
| String
| Path of the component who originates this message.
|
| Description
| Object
| Description of this message.
|
|
Method Summary |
java.lang.Object |
getContractContent()
Returns the content of this contract (format?). |
java.lang.String |
getName()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DebugContract INSTANCE
DebugContract
public DebugContract()
getName
public java.lang.String getName()
- Specified by:
getName 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
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~