public class WaiterCommunicator
extends java.lang.Object
Constructor and Description |
---|
WaiterCommunicator() |
Modifier and Type | Method and Description |
---|---|
static void |
send(java.lang.Object o,
java.lang.String host,
int port)
Send the object to a specified port and host.
|
static java.lang.Object |
sendAndRecieve(java.lang.Object o,
java.lang.String host,
int port)
Send and recieve an object on a specified port and host.
|
public static java.lang.Object sendAndRecieve(java.lang.Object o, java.lang.String host, int port)
o
- the ohost
- the hostport
- the portpublic static void send(java.lang.Object o, java.lang.String host, int port)
o
- the object to sendhost
- the hostport
- the port