|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.comp.Message
drcl.inet.mac.RadioPropagationQueryContract.Message
| Constructor Summary | |
RadioPropagationQueryContract.Message()
|
|
RadioPropagationQueryContract.Message(double loss_)
Constructor. |
|
RadioPropagationQueryContract.Message(double Lambda_,
double Xs_,
double Ys_,
double Zs_,
double Xr_,
double Yr_,
double Zr_)
Constructor. |
|
RadioPropagationQueryContract.Message(double Lambda_,
double Xs_,
double Ys_,
double Zs_,
double Xr_,
double Yr_,
double Zr_,
double loss_)
Constructor. |
|
RadioPropagationQueryContract.Message(long sid_,
double Lambda_,
double Xs_,
double Ys_,
double Zs_,
double Xr_,
double Yr_,
double Zr_)
Constructor. |
|
RadioPropagationQueryContract.Message(long sid_,
double Lambda_,
double Xs_,
double Ys_,
double Zs_,
double Xr_,
double Yr_,
double Zr_,
double loss_)
Constructor. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a clone of this object. |
Contract |
getContract()
Returns the associated contract of this message. |
double |
getDxy()
calculate the distance of two nodes on the X-Y plane, assuming X and Y are the Cartesian coordinates. |
double |
getDxyz()
calculate the distance of two nodes. |
double |
getDxyz2()
Calculate the distance of two nodes. |
double |
getLambda()
|
double |
getLoss()
|
long |
getSid()
|
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 |
public RadioPropagationQueryContract.Message()
public RadioPropagationQueryContract.Message(double Lambda_,
double Xs_,
double Ys_,
double Zs_,
double Xr_,
double Yr_,
double Zr_)
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
public RadioPropagationQueryContract.Message(long sid_,
double Lambda_,
double Xs_,
double Ys_,
double Zs_,
double Xr_,
double Yr_,
double Zr_)
Lambda_ - the wavelengthsid_ - Xs_ - 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
public RadioPropagationQueryContract.Message(double Lambda_,
double Xs_,
double Ys_,
double Zs_,
double Xr_,
double Yr_,
double Zr_,
double loss_)
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 nodeloss_ - the path loss in the reply
public RadioPropagationQueryContract.Message(long sid_,
double Lambda_,
double Xs_,
double Ys_,
double Zs_,
double Xr_,
double Yr_,
double Zr_,
double loss_)
Lambda_ - the wavelengthsid_ - Xs_ - 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 nodeloss_ - the path loss in the replypublic RadioPropagationQueryContract.Message(double loss_)
loss_ - the path loss| Method Detail |
public java.lang.Object clone()
ObjectCloneable
clone in interface ObjectCloneableclone in class Messagepublic Contract getContract()
Message
getContract in class Messagepublic long getSid()
public double getXs()
public double getYs()
public double getZs()
public double getXr()
public double getYr()
public double getZr()
public double getLambda()
public double getLoss()
public double getDxy()
public double getDxyz()
public double getDxyz2()
public java.lang.String toString(java.lang.String separator_)
Message
toString in class Message
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||