J-Sim v1.2.1-p7 API

drcl.comp
Class Message

java.lang.Object
  extended bydrcl.DrclObj
      extended bydrcl.comp.Message
All Implemented Interfaces:
java.lang.Cloneable, ObjectDuplicable, java.io.Serializable
Direct Known Subclasses:
ByteStreamContract.Message, ComponentMessage, ConfigSwitch.Message, DatagramContract.Message, IDConfig.Message, McastHostEvent.Message, NeighborEvent.Message, PktSending.Message, RTConfig.Message, RTLookup.Message, SchedulerConfig.Message, ShellContract.Message, SocketContract.Message

public abstract class Message
extends DrclObj

The base class for implementing a message.

See Also:
Serialized Form

Constructor Summary
Message()
           
 
Method Summary
abstract  Contract getContract()
          Returns the associated contract of this message.
 java.lang.String toString()
           
abstract  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.DrclObj
clone, duplicate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Message

public Message()
Method Detail

getContract

public abstract Contract getContract()
Returns the associated contract of this message.


toString

public java.lang.String toString()
Overrides:
toString in class DrclObj

toString

public abstract java.lang.String toString(java.lang.String separator_)
Prints the content of the message by separating each field with the separator string.


J-Sim v1.2.1-p7 API

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