public class CompressingHelloWorldClient extends Object
HelloWorldServer.
This class should act a a drop in replacement for
HelloWorldClient.
| Constructor and Description |
|---|
CompressingHelloWorldClient(String host,
int port)
Construct client connecting to HelloWorld server at
host:port. |
| Modifier and Type | Method and Description |
|---|---|
void |
greet(String name)
Say hello to server.
|
static void |
main(String[] args)
Greet server.
|
void |
shutdown() |
public CompressingHelloWorldClient(String host, int port)
host:port.public void shutdown()
throws InterruptedException
InterruptedExceptionpublic void greet(String name)