Package py4j

Class EchoClient


  • public class EchoClient
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      EchoClient()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void connect()  
      int getPort()  
      java.lang.String getResponse()  
      void setPort​(int port)  
      void write​(java.lang.String command)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EchoClient

        public EchoClient()
    • Method Detail

      • getPort

        public int getPort()
      • setPort

        public void setPort​(int port)
      • write

        public void write​(java.lang.String command)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getResponse

        public java.lang.String getResponse()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • connect

        public void connect()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()