drcl.inet.sensorsim
Class SensorNeighborQueryContract.Message
java.lang.Object
drcl.comp.Message
drcl.inet.sensorsim.SensorNeighborQueryContract.Message
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectCloneable
- Enclosing class:
- SensorNeighborQueryContract
- public static class SensorNeighborQueryContract.Message
- extends Message
This class implements the underlying message of the contract.
|
Constructor Summary |
SensorNeighborQueryContract.Message()
|
SensorNeighborQueryContract.Message(long[] nodeList_)
|
SensorNeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_)
|
SensorNeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_,
double Radius_)
|
SensorNeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_,
double Radius_,
long[] nodeList_)
|
SensorNeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_,
long[] nodeList_)
|
|
Method Summary |
java.lang.Object |
clone()
Returns a clone of this object. |
Contract |
getContract()
Returns the associated contract of this message. |
long |
getNid()
|
long[] |
getNodeList()
|
double |
getRadius()
|
double |
getX()
|
double |
getY()
|
double |
getZ()
|
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SensorNeighborQueryContract.Message
public SensorNeighborQueryContract.Message()
SensorNeighborQueryContract.Message
public SensorNeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_)
SensorNeighborQueryContract.Message
public SensorNeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_,
double Radius_)
SensorNeighborQueryContract.Message
public SensorNeighborQueryContract.Message(long[] nodeList_)
SensorNeighborQueryContract.Message
public SensorNeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_,
double Radius_,
long[] nodeList_)
SensorNeighborQueryContract.Message
public SensorNeighborQueryContract.Message(long nid_,
double X_,
double Y_,
double Z_,
long[] nodeList_)
getNid
public long getNid()
getX
public double getX()
getY
public double getY()
getZ
public double getZ()
getRadius
public double getRadius()
getNodeList
public long[] getNodeList()
clone
public java.lang.Object clone()
- Description copied from interface:
ObjectCloneable
- Returns a clone of this object.
- Specified by:
clone in interface ObjectCloneable- Specified by:
clone in class Message
getContract
public Contract getContract()
- Description copied from class:
Message
- Returns the associated contract of this message.
- Specified by:
getContract in class Message
toString
public java.lang.String toString(java.lang.String separator_)
- Description copied from class:
Message
- Prints the content of the message by separating each field with the separator string.
- Specified by:
toString in class Message
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~