Package py4j
Class EchoClient
- java.lang.Object
-
- py4j.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)
-
-
-
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()
-
-