|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceforge.jemm.comm.AsyncClientServerEchoTest
public class AsyncClientServerEchoTest
Basic integration test of asynchronous comms code using the echo example. This test sends NO_MESSAGES asynchronous messages to the echo server and awaits the same number of replies.
| Field Summary | |
|---|---|
static int |
NO_MESSAGES
The number of messages to send. |
static java.lang.String |
SERVER_HOSTNAME
Target host address. |
static int |
SERVER_PORT
Target server port. |
| Constructor Summary | |
|---|---|
AsyncClientServerEchoTest()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
main method runs a simple test of the echo server. |
void |
runTest()
Run a test of the asynchronous calling using the asynchronous echo calls. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SERVER_HOSTNAME
public static final int SERVER_PORT
public static final int NO_MESSAGES
| Constructor Detail |
|---|
public AsyncClientServerEchoTest()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - Command line arguments.
java.lang.Exception - On error.
public void runTest()
throws java.lang.Exception
java.lang.Exception - On error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||