py4j
Interface CommunicationChannel

All Known Implementing Classes:
DefaultCommunicationChannel

public interface CommunicationChannel

A communication channel is responsible for sending commands to the Python side. This interface is used by the callback framework.

Author:
Barthelemy Dagenais

Method Summary
 String sendCommand(String command)
           
 void setUsed(boolean used)
           
 void shutdown()
           Note: shutdown() should NOT throw any exception
 void start()
           
 boolean wasUsed()
           
 

Method Detail

start

void start()
           throws IOException
Throws:
IOException

sendCommand

String sendCommand(String command)

shutdown

void shutdown()

Note: shutdown() should NOT throw any exception


wasUsed

boolean wasUsed()

setUsed

void setUsed(boolean used)