public class CallbackConnection extends Object
Default implementation of the CommunicationChannel interface using TCP sockets.
Constructor and Description |
---|
CallbackConnection(int port,
InetAddress address) |
Modifier and Type | Method and Description |
---|---|
String |
sendCommand(String command) |
void |
setUsed(boolean used) |
void |
shutdown() |
void |
start() |
boolean |
wasUsed() |
public CallbackConnection(int port, InetAddress address)
public void setUsed(boolean used)
public void shutdown()
public void start() throws IOException
IOException
public boolean wasUsed()