com.agilent.android.io
Class SocketIO
java.lang.Object
com.agilent.android.io.SocketIO
public class SocketIO
- extends java.lang.Object
Method Summary |
void |
close()
|
void |
openWithAddress(java.lang.String address,
int port,
int timeout)
|
void |
readBuffer(byte[] buffer,
int sizeToRead,
int timeout)
|
void |
readString(java.lang.StringBuffer response,
java.lang.String newLineToken,
int timeout)
|
void |
writeBuffer(byte[] buffer,
int size,
int timeout)
|
void |
writeString(java.lang.String command,
int timeout)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketIO
public SocketIO()
openWithAddress
public void openWithAddress(java.lang.String address,
int port,
int timeout)
throws AAIoException
- Throws:
AAIoException
close
public void close()
writeBuffer
public void writeBuffer(byte[] buffer,
int size,
int timeout)
throws AAIoException
- Throws:
AAIoException
writeString
public void writeString(java.lang.String command,
int timeout)
throws AAIoException
- Throws:
AAIoException
readBuffer
public void readBuffer(byte[] buffer,
int sizeToRead,
int timeout)
throws AAIoException
- Throws:
AAIoException
readString
public void readString(java.lang.StringBuffer response,
java.lang.String newLineToken,
int timeout)
throws AAIoException
- Throws:
AAIoException