|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucr.app.QueryNode
An class for executing search queries on the UCRDB network. The application expects two command line parameters, the host name, and the port the servant is listening on
| Field Summary | |
private static NetConnection |
c
|
private static Session[] |
search
|
| Constructor Summary | |
QueryNode(NetConnection networkConnection)
Default Consructor |
|
| Method Summary | |
static void |
dumpFULLTables(int until)
|
(package private) static void |
finished()
Prints on the screen periodically the number of incoming/ougoing connections and saves to disk the current result. |
static java.lang.String |
getHitTable(int i)
|
(package private) static java.lang.String |
getMode(java.lang.String[] args)
returns the mode as it was specified as a command line parameter |
static java.lang.String |
getQueryHitTimeTable(int i)
|
static void |
main(java.lang.String[] args)
Entry point for the search example application, host and port number are expected arguments |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static Session[] search
private static NetConnection c
| Constructor Detail |
public QueryNode(NetConnection networkConnection)
| Method Detail |
public static java.lang.String getHitTable(int i)
public static java.lang.String getQueryHitTimeTable(int i)
static java.lang.String getMode(java.lang.String[] args)
public static void dumpFULLTables(int until)
public static void main(java.lang.String[] args)
static void finished()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||