org.apache.zookeeper.client
public class FourLetterWordMain extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
LOG |
Constructor and Description |
---|
FourLetterWordMain() |
public static String send4LetterWord(String host, int port, String cmd) throws IOException
host
- the destination hostport
- the destination portcmd
- the 4letterwordIOException
public static void main(String[] args) throws IOException
IOException
Copyright © 2014 The Apache Software Foundation