py4j
Class CallbackConnection
java.lang.Object
py4j.CallbackConnection
public class CallbackConnection
- extends Object
Default implementation of the CommunicationChannel interface using TCP
sockets.
- Author:
- Barthelemy Dagenais
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallbackConnection
public CallbackConnection(int port,
InetAddress address)
start
public void start()
throws IOException
- Throws:
IOException
sendCommand
public String sendCommand(String command)
setUsed
public void setUsed(boolean used)
shutdown
public void shutdown()
wasUsed
public boolean wasUsed()