public interface ICommunicator
Modifier and Type | Method and Description |
---|---|
int |
available()
Deprecated.
|
byte[] |
read()
Deprecated.
|
int |
readByte()
Deprecated.
Read as single byte.
|
byte[] |
readBytes(int count,
int timeout)
Deprecated.
|
void |
write(byte[] b)
Deprecated.
|
void |
writeByte(byte b)
Deprecated.
Write a signle byte
|
int readByte() throws java.io.IOException
java.io.IOException
void writeByte(byte b) throws java.io.IOException
b
- the byte to writejava.io.IOException
byte[] read()
void write(byte[] b) throws java.io.IOException
java.io.IOException
int available()
byte[] readBytes(int count, int timeout) throws java.io.IOException
java.io.IOException