|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sweetohm.ant.server.Client
Ant server test client. You may use this example to integrate client in in your Java source code.
Field Summary | |
(package private) java.lang.String |
command
The command to send to the server |
(package private) java.lang.String |
host
The host of the running Ant server |
(package private) int |
port
The port of the running Ant server |
Constructor Summary | |
Client(java.lang.String[] args)
Constructor for the Client. |
Method Summary | |
static void |
main(java.lang.String[] args)
Method main. |
(package private) void |
run()
Method run. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.lang.String host
int port
java.lang.String command
Constructor Detail |
public Client(java.lang.String[] args)
args
- Commend line arguments.Method Detail |
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line arguments.
java.lang.Exception
- If problem occurs.void run() throws java.lang.Exception
java.lang.Exception
- If a problem occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |