ioio.lib.api
Interface IOIOConnection
public interface IOIOConnection
waitForConnect
void waitForConnect()
throws ConnectionLostException
- Throws:
ConnectionLostException
disconnect
void disconnect()
getInputStream
java.io.InputStream getInputStream()
throws ConnectionLostException
- Throws:
ConnectionLostException
getOutputStream
java.io.OutputStream getOutputStream()
throws ConnectionLostException
- Throws:
ConnectionLostException
canClose
boolean canClose()
- Can this connection be closed. Normally the answer would be "true", but
some weird connections cannot be closed and need the higher layer to do
a "soft close" instead.
- Returns:
- true This connection can be closed.