DRCL J-Sim API

drcl.comp.contract
Class DoubleEventContract.Message

java.lang.Object
  extended bydrcl.comp.Message
      extended bydrcl.comp.contract.ComponentMessage
          extended bydrcl.comp.contract.DoubleEventContract.Message
All Implemented Interfaces:
java.lang.Cloneable, ObjectCloneable
Enclosing class:
DoubleEventContract

public static class DoubleEventContract.Message
extends ComponentMessage


Constructor Summary
DoubleEventContract.Message(double time_, java.lang.String evtName_, java.lang.String portPath_, double event_, java.lang.Object description_)
           
 
Method Summary
 java.lang.Object clone()
          Returns a clone of this object.
 Contract getContract()
          Returns the associated contract of this message.
 java.lang.Object getDescription()
           
 java.lang.String getEventName()
           
 java.lang.String getPortPath()
           
 double getTime()
           
 double getValue()
           
 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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleEventContract.Message

public DoubleEventContract.Message(double time_,
                                   java.lang.String evtName_,
                                   java.lang.String portPath_,
                                   double event_,
                                   java.lang.Object description_)
Method Detail

getTime

public double getTime()

getPortPath

public java.lang.String getPortPath()

getEventName

public java.lang.String getEventName()

getValue

public double getValue()

getDescription

public java.lang.Object getDescription()

getContract

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

Specified by:
getContract in class Message

clone

public java.lang.Object clone()
Description copied from interface: ObjectCloneable
Returns a clone of this object.

Specified by:
clone in interface ObjectCloneable
Specified by:
clone 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

DRCL J-Sim API

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