public class VattInputStream extends DataInputStream
VattMessage). It extends the DataInputStream by
a single method that reads a Vatt acknowledge message. It is used only
client-side, otherwise a write method for a command message would be
needed, too.in| Constructor and Description |
|---|
VattInputStream(InputStream in)
Wraps a packet input stream on top of a data output stream.
|
| Modifier and Type | Method and Description |
|---|---|
VattAcknowledgeMessage |
readMessage()
Reads a short GREGOR message from the stream.
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skippublic VattInputStream(InputStream in)
public VattAcknowledgeMessage readMessage() throws IOException
IOException