com.citizen.port.android
Class USBPortConnection

java.lang.Object
  extended by com.citizen.port.android.USBPortConnection
All Implemented Interfaces:
DeviceConnection

public class USBPortConnection
extends java.lang.Object
implements DeviceConnection


Method Summary
 void close()
           
 RequestQueue getQueue()
           
 int read(byte[] array)
           
 int readData(byte[] buffer)
           
 int readData(byte[] buffer, int timeout)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public void close()
           throws java.lang.InterruptedException
Specified by:
close in interface DeviceConnection
Throws:
java.lang.InterruptedException

read

public int read(byte[] array)
         throws java.io.IOException,
                java.lang.InterruptedException
Specified by:
read in interface DeviceConnection
Throws:
java.io.IOException
java.lang.InterruptedException

readData

public int readData(byte[] buffer)
Specified by:
readData in interface DeviceConnection

readData

public int readData(byte[] buffer,
                    int timeout)

getQueue

public RequestQueue getQueue()
Specified by:
getQueue in interface DeviceConnection