com.citizen.port.android
Interface DeviceConnection

All Known Implementing Classes:
USBPortConnection, WiFiPortConnection

public interface DeviceConnection


Method Summary
 void close()
           
 RequestQueue getQueue()
           
 int read(byte[] array)
           
 int readData(byte[] array)
           
 

Method Detail

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