DRCL J-Sim API

drcl.inet.sensorsim
Class SensorRadioPropagationQueryContract

java.lang.Object
  extended bydrcl.comp.Contract
      extended bydrcl.inet.sensorsim.SensorRadioPropagationQueryContract

public class SensorRadioPropagationQueryContract
extends Contract

This class implements the contract between the sensor physical layer and the propagation model.

Version:
1.0, 12/19/2003
Author:
Ahmed Sobeih

Nested Class Summary
static class SensorRadioPropagationQueryContract.Message
          This class implements the underlying message of the contract.
 
Field Summary
static SensorRadioPropagationQueryContract INSTANCE
           
 
Fields inherited from class drcl.comp.Contract
Role_INITIATOR, Role_PEER, Role_REACTOR
 
Constructor Summary
SensorRadioPropagationQueryContract()
           
 
Method Summary
static SensorRadioPropagationQueryContract.Message constructQuery(double Pt_, double Xs_, double Ys_, double Zs_, double Xr_, double Yr_, double Zr_)
          Constructs the query message
 java.lang.Object getContractContent()
          Returns the content of this contract (format?).
 java.lang.String getName()
           
 
Methods inherited from class drcl.comp.Contract
getRole, match, setRole
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final SensorRadioPropagationQueryContract INSTANCE
Constructor Detail

SensorRadioPropagationQueryContract

public SensorRadioPropagationQueryContract()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class Contract

getContractContent

public java.lang.Object getContractContent()
Description copied from class: Contract
Returns the content of this contract (format?).

Specified by:
getContractContent in class Contract

constructQuery

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


DRCL J-Sim API

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