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