|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--projectinfosearch.AgentClient
An AgentClient is an application which finds servers, creates and sends an AgentObject and displays its results when it returns
| Constructor Summary | |
AgentClient(int homePort)
creates a DiscoveryClient, displays the running servers which were found, creates an AgentSender, displays the results of the AgentObject's "journey" |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Reads the arguments from the command line (homePort) and creates an AgentClient |
void |
printDiscoveryResult(java.util.Vector vector)
prints the connected running servers |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AgentClient(int homePort)
homePort - is the home port on which the AgentClient waits for the AgentObject's return| Method Detail |
public void printDiscoveryResult(java.util.Vector vector)
-vector - contains the connected running serverspublic static void main(java.lang.String[] args)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||