@Deprecated public class SerialCommunicatorObsolete extends java.lang.Object implements ICommunicator
Constructor and Description |
---|
SerialCommunicatorObsolete()
Deprecated.
|
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[] bytes)
Deprecated.
|
void |
writeByte(byte b)
Deprecated.
Write a signle byte
|
public void writeByte(byte b) throws java.io.IOException
ICommunicator
writeByte
in interface ICommunicator
b
- the byte to writejava.io.IOException
public void write(byte[] bytes) throws java.io.IOException
write
in interface ICommunicator
java.io.IOException
public int readByte() throws java.io.IOException
ICommunicator
readByte
in interface ICommunicator
java.io.IOException
public byte[] read()
read
in interface ICommunicator
public int available()
available
in interface ICommunicator
public byte[] readBytes(int count, int timeout) throws java.io.IOException
readBytes
in interface ICommunicator
java.io.IOException