py4j
Class CallbackConnection

java.lang.Object
  extended by py4j.CallbackConnection

public class CallbackConnection
extends Object

Default implementation of the CommunicationChannel interface using TCP sockets.

Author:
Barthelemy Dagenais

Constructor Summary
CallbackConnection(int port, InetAddress address)
           
 
Method Summary
 String sendCommand(String command)
           
 void setUsed(boolean used)
           
 void shutdown()
           
 void start()
           
 boolean wasUsed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallbackConnection

public CallbackConnection(int port,
                          InetAddress address)
Method Detail

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()