drcl.inet.mac
Class RadioPropagationQueryContract
java.lang.Object
drcl.comp.Contract
drcl.inet.mac.RadioPropagationQueryContract
- public class RadioPropagationQueryContract
- extends Contract
The RadioPropagationQueryContract contract. This class defines
the message formats used between WirelessPhy and
RadioPropagationModel.
- Author:
- Ye Ge
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final RadioPropagationQueryContract INSTANCE
RadioPropagationQueryContract
public RadioPropagationQueryContract()
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 RadioPropagationQueryContract.Message constructQuery(double Lambda_,
double Xs_,
double Ys_,
double Zs_,
double Xr_,
double Yr_,
double Zr_)
- Constructs a radio propagation query message.
- Parameters:
Lambda_ - the wavelengthXs_ - the x coordinate of the sending nodeYs_ - the y coordinate of the sending nodeZs_ - the z coordinate of the sending nodeXr_ - the x coordinate of the receiving nodeYr_ - the y coordinate of the receiving nodeZr_ - the z coordinate of the receiving node
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~