drcl.inet.sensorsim
Class SensorNeighborQueryContract
java.lang.Object
drcl.comp.Contract
drcl.inet.sensorsim.SensorNeighborQueryContract
- public class SensorNeighborQueryContract
- extends Contract
This class implements the contract between the sensor channel and the node position tracker.
- Version:
- 1.0, 12/19/2003
- Author:
- Ahmed Sobeih
|
Method Summary |
java.lang.Object |
getContractContent()
Returns the content of this contract (format?). |
java.lang.String |
getName()
|
static java.lang.Object |
query(long nid_,
double X_,
double Y_,
double Z_,
Port out_)
Sends a query and receives a reply |
static void |
reply(long[] nodeList_,
Port out_)
Sends a reply |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final SensorNeighborQueryContract INSTANCE
SensorNeighborQueryContract
public SensorNeighborQueryContract()
SensorNeighborQueryContract
public SensorNeighborQueryContract(int role_)
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
query
public static java.lang.Object query(long nid_,
double X_,
double Y_,
double Z_,
Port out_)
- Sends a query and receives a reply
reply
public static void reply(long[] nodeList_,
Port out_)
- Sends a reply
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~