|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdriver.tcp
public class tcp
Small TCP test that can be run both inside and outside of JiST.
| Nested Class Summary | |
|---|---|
static class |
tcp.Client
Simple TCP client. |
static class |
tcp.Server
Simple TCP server. |
| Field Summary | |
|---|---|
static java.lang.String |
HOST
default server address. |
static byte[] |
msg_bulk
bulk message to transfer. |
static int |
NUM_BYTES
number of bytes in bulk message to transfer. |
static int |
PORT
default client-server port. |
| Constructor Summary | |
|---|---|
tcp()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Program entry point: small TCP test that can be run inside and outside of JiST. |
| 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 HOST
public static final int PORT
public static byte[] msg_bulk
public static int NUM_BYTES
| Constructor Detail |
|---|
public tcp()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - command-line parameters
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||