DRCL J-Sim API

drcl.comp
Class Message

java.lang.Object
  extended bydrcl.comp.Message
All Implemented Interfaces:
java.lang.Cloneable, ObjectCloneable
Direct Known Subclasses:
ARPContract.Message, BatteryContract.Message, ByteStreamContract.Message, ComponentMessage, ConfigSwitch.Message, DatagramContract.Message, IDConfig.Message, MacPhyContract.Message, McastHostEvent.Message, NeighborEvent.Message, NeighborQueryContract.Message, NodeChannelContract.Message, PktSending.Message, PositionReportContract.Message, RadioPropagationQueryContract.Message, RTConfig.Message, RTLookup.Message, SchedulerConfig.Message, SensorAgentPhyContract.Message, SensorAppAgentContract.Message, SensorAppWirelessAgentContract.Message, SensorNeighborQueryContract.Message, SensorNodeChannelContract.Message, SensorPositionReportContract.Message, SensorRadioPropagationQueryContract.Message, ShellContract.Message, SocketContract.Message

public abstract class Message
extends java.lang.Object
implements ObjectCloneable

The base class for implementing a message.


Constructor Summary
Message()
           
 
Method Summary
abstract  java.lang.Object clone()
          Returns a clone of this object.
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 java.lang.Object
equals, 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()

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.


clone

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

Specified by:
clone in interface ObjectCloneable

DRCL J-Sim API

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