FourLetterWordMain (ZooKeeper 3.4.6 API)
Date: 2014-02-20

org.apache.zookeeper.client

## Class FourLetterWordMain

- java.lang.Object
- - org.apache.zookeeper.client.FourLetterWordMain

-     public class FourLetterWordMain
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FourLetterWordMain()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)`
    `static String` | `send4LetterWord(String host, int port, String cmd)` Send the 4letterword

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FourLetterWordMain

          public FourLetterWordMain()

  - ### Method Detail

    - #### send4LetterWord

          public static String send4LetterWord(String host,
                               int port,
                               String cmd)
                                        throws IOException

      Send the 4letterword
      Parameters:
        `host` - the destination host
        `port` - the destination port
        `cmd` - the 4letterword
      Returns:
        server response
      Throws:
        `IOException`

    - #### main

          public static void main(String[] args)
                           throws IOException

      Throws:
        `IOException`

Copyright © 2014 The Apache Software Foundation