|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.tinyos.tinydb.CmdLineOutput
CmdLineOutput runs queries and displays results on the command line.
Constructor Summary | |
CmdLineOutput(net.tinyos.tinydb.TinyDBNetwork nw,
java.lang.String queryString)
Constructor -- runs the specified query using the provided network interface. |
Method Summary | |
void |
addResult(net.tinyos.tinydb.QueryResult qr)
ResultListener method that is called whenever a query result arrives for us This method just prints each result out on the command line. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CmdLineOutput(net.tinyos.tinydb.TinyDBNetwork nw, java.lang.String queryString)
nw
- A network interface for talking with the basestation /
parsing results.queryString
- the query to run.Method Detail |
public void addResult(net.tinyos.tinydb.QueryResult qr)
addResult
in interface ResultListener
qr
- A query result that just arrived
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |