com.citizen.port.android
Interface DeviceConnection
- All Known Implementing Classes:
- USBPortConnection, WiFiPortConnection
public interface DeviceConnection
close
void close()
throws java.lang.InterruptedException,
java.io.IOException
- Throws:
java.lang.InterruptedException
java.io.IOException
getQueue
RequestQueue getQueue()
read
int read(byte[] array)
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
readData
int readData(byte[] array)
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException