Package org.gearman.example
Class EchoClient
- java.lang.Object
-
- org.gearman.example.EchoClient
-
public class EchoClient extends Object
-
-
Constructor Summary
Constructors Constructor Description EchoClient(String host, int port)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
echo(String input)
static void
main(String[] args)
void
shutdown()
static void
usage()
-
-
-
Constructor Detail
-
EchoClient
public EchoClient(String host, int port) throws IOException
- Throws:
IOException
-
-
Method Detail
-
echo
public String echo(String input) throws IOException
- Throws:
IOException
-
shutdown
public void shutdown() throws IllegalStateException
- Throws:
IllegalStateException
-
main
public static void main(String[] args)
-
usage
public static void usage()
-
-