com.citizen.port.android
Class WiFiPortConnection
java.lang.Object
com.citizen.port.android.WiFiPortConnection
- All Implemented Interfaces:
- DeviceConnection
public class WiFiPortConnection
- extends java.lang.Object
- implements DeviceConnection
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
close
public void close()
throws java.lang.InterruptedException,
java.io.IOException
- Specified by:
close
in interface DeviceConnection
- Throws:
java.lang.InterruptedException
java.io.IOException
isConnected
public boolean isConnected()
getQueue
public RequestQueue getQueue()
- Specified by:
getQueue
in interface DeviceConnection
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[] array)
throws java.lang.InterruptedException
- Specified by:
readData
in interface DeviceConnection
- Throws:
java.lang.InterruptedException