|
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.PositionReportContract.Message
The position report message.
| Constructor Summary | |
PositionReportContract.Message()
|
|
PositionReportContract.Message(double X_,
double Y_,
double Z_)
This is only used while MobilityModel responding WirelessPhy's query and reporting its own position. |
|
PositionReportContract.Message(long nid_,
double X_,
double Y_,
double Z_,
double X0_,
double Y0_,
double Z0_)
Constructor |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a clone of this object. |
Contract |
getContract()
Returns the associated contract of this message. |
long |
getNid()
|
double |
getX()
|
double |
getX0()
|
double |
getY()
|
double |
getY0()
|
double |
getZ()
|
double |
getZ0()
|
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 PositionReportContract.Message()
public PositionReportContract.Message(long nid_,
double X_,
double Y_,
double Z_,
double X0_,
double Y0_,
double Z0_)
nid_ - the node IdX_ - the x coordinate of the node current positionY_ - the y coordinate of the node current positionZ_ - the z coordinate of the node current positionX0_ - the x coordinate of the node previous positionY0_ - the y coordinate of the node previous positionZ0_ - the z coordinate of the node previous position
public PositionReportContract.Message(double X_,
double Y_,
double Z_)
| Method Detail |
public long getNid()
public double getX()
public double getY()
public double getZ()
public double getX0()
public double getY0()
public double getZ0()
public java.lang.Object clone()
ObjectCloneable
clone in interface ObjectCloneableclone in class Messagepublic Contract getContract()
Message
getContract in class Messagepublic 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 | ||||||||||