DRCL JavaSim API

drcl.comp
Class Message

java.lang.Object
  |
  +--drcl.DrclObj
        |
        +--drcl.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, 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.

DRCL JavaSim API

Copyright © 2001 - DRCL, OSU     ~ Back to JavaSim Home ~