DRCL J-Sim API

drcl.inet.sensorsim
Class SensorRadioPropagationQueryContract.Message

java.lang.Object
  extended bydrcl.comp.Message
      extended bydrcl.inet.sensorsim.SensorRadioPropagationQueryContract.Message
All Implemented Interfaces:
java.lang.Cloneable, ObjectCloneable
Enclosing class:
SensorRadioPropagationQueryContract

public static class SensorRadioPropagationQueryContract.Message
extends Message

This class implements the underlying message of the contract.


Constructor Summary
SensorRadioPropagationQueryContract.Message()
           
SensorRadioPropagationQueryContract.Message(double Pr_)
          Constructs the reply message
SensorRadioPropagationQueryContract.Message(double Pt_, double Xs_, double Ys_, double Zs_, double Xr_, double Yr_, double Zr_)
          Constructs the query message
SensorRadioPropagationQueryContract.Message(double Pt_, double Xs_, double Ys_, double Zs_, double Xr_, double Yr_, double Zr_, double Pr_)
           
 
Method Summary
 java.lang.Object clone()
          Returns a clone of this object.
 Contract getContract()
          Returns the associated contract of this message.
 double getPr()
           
 double getPt()
           
 double getXr()
           
 double getXs()
           
 double getYr()
           
 double getYs()
           
 double getZr()
           
 double getZs()
           
 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

SensorRadioPropagationQueryContract.Message

public SensorRadioPropagationQueryContract.Message()

SensorRadioPropagationQueryContract.Message

public SensorRadioPropagationQueryContract.Message(double Pt_,
                                                   double Xs_,
                                                   double Ys_,
                                                   double Zs_,
                                                   double Xr_,
                                                   double Yr_,
                                                   double Zr_)
Constructs the query message


SensorRadioPropagationQueryContract.Message

public SensorRadioPropagationQueryContract.Message(double Pt_,
                                                   double Xs_,
                                                   double Ys_,
                                                   double Zs_,
                                                   double Xr_,
                                                   double Yr_,
                                                   double Zr_,
                                                   double Pr_)

SensorRadioPropagationQueryContract.Message

public SensorRadioPropagationQueryContract.Message(double Pr_)
Constructs the reply message

Method Detail

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

getContract

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

Specified by:
getContract in class Message

getXs

public double getXs()

getYs

public double getYs()

getZs

public double getZs()

getXr

public double getXr()

getYr

public double getYr()

getZr

public double getZr()

getPt

public double getPt()

getPr

public double getPr()

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 ~