J-Sim v1.2.1-p7 API

drcl.comp.contract
Class GarbageContract.Message

java.lang.Object
  extended bydrcl.DrclObj
      extended bydrcl.comp.Message
          extended bydrcl.comp.contract.ComponentMessage
              extended bydrcl.comp.contract.GarbageContract.Message
All Implemented Interfaces:
java.lang.Cloneable, ObjectDuplicable, java.io.Serializable
Enclosing class:
GarbageContract

public static class GarbageContract.Message
extends ComponentMessage

See Also:
Serialized Form

Constructor Summary
GarbageContract.Message(double time_, java.lang.String portPath_, java.lang.Object data_, boolean displayable_)
           
GarbageContract.Message(double time_, java.lang.String portPath_, java.lang.Object data_, java.lang.Object description_, boolean displayable_)
           
 
Method Summary
 Contract getContract()
          Returns the associated contract of this message.
 java.lang.Object getData()
           
 java.lang.Object getDescription()
           
 java.lang.String getPortPath()
           
 double getTime()
           
 boolean isDisplayable()
           
 java.lang.String toString(java.lang.String separator_)
          Prints the content of the message by separating each field with the separator string.
 
Methods inherited from class drcl.comp.Message
toString
 
Methods inherited from class drcl.DrclObj
clone, duplicate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GarbageContract.Message

public GarbageContract.Message(double time_,
                               java.lang.String portPath_,
                               java.lang.Object data_,
                               boolean displayable_)

GarbageContract.Message

public GarbageContract.Message(double time_,
                               java.lang.String portPath_,
                               java.lang.Object data_,
                               java.lang.Object description_,
                               boolean displayable_)
Method Detail

getTime

public double getTime()

getPortPath

public java.lang.String getPortPath()

getData

public java.lang.Object getData()

getDescription

public java.lang.Object getDescription()

isDisplayable

public boolean isDisplayable()

getContract

public Contract getContract()
Description copied from class: Message
Returns the associated contract of this message.

Specified by:
getContract in class Message

toString

public java.lang.String toString(java.lang.String separator_)
Description copied from class: Message
Prints the content of the message by separating each field with the separator string.

Specified by:
toString in class Message

J-Sim v1.2.1-p7 API

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