|
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.NeighborQueryContract.Message
| Constructor Summary | |
NeighborQueryContract.Message()
|
|
NeighborQueryContract.Message(long[] nodeList_)
Construct. |
|
NeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_)
Constructor. |
|
NeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_,
int nGrids_)
Constructor. |
|
NeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_,
long[] nodeList_,
int nGrids_)
Constructor. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a clone of this object. |
Contract |
getContract()
Returns the associated contract of this message. |
int |
getnGrids()
Gets nGrids |
long |
getNid()
Gets the node id |
long[] |
getNodeList()
Gets node list in the message |
double |
getX()
Gets the X coordinate |
double |
getY()
Gets the Y coordinate |
double |
getZ()
Gets the Z coordinate |
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 NeighborQueryContract.Message()
public NeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_)
nid_ - the id of the querying node.X_ - the x coordinate of the node current position.Y_ - the y coordinate of the node current position.Z_ - the z coordinate of the node current position.
public NeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_,
int nGrids_)
nid_ - the id of the querying node.X_ - the x coordinate of the node current position.Y_ - the y coordinate of the node current position.Z_ - the z coordinate of the node current position.public NeighborQueryContract.Message(long[] nodeList_)
nodeList_ - the list of all neighbour node id.
public NeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_,
long[] nodeList_,
int nGrids_)
nid_ - the node idX_ - the X coordinate of the querying nodeY_ - the Y coordinate of the querying nodeZ_ - the Z coordinate of the querying nodenodeList_ - the id list of all neighbour nodesnGrids_ - the value of nGrids| Method Detail |
public long getNid()
public double getX()
public double getY()
public double getZ()
public int getnGrids()
public long[] getNodeList()
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 | ||||||||||