public class VattOutputStream extends DataOutputStream
VattMessage). It extends the DataOutputStream by
a single method that writes a Vatt command message. It is used only
client-side, otherwise a write method for an acknowledge message would be
needed, too.writtenout| Constructor and Description |
|---|
VattOutputStream(OutputStream out)
Wraps a packet output stream on top of a data output stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeCommandMessage(VattCommandMessage m)
Method to write a short mesaage to the stream as a single package.
|
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFclose, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritepublic VattOutputStream(OutputStream out)
public void writeCommandMessage(VattCommandMessage m) throws IOException
IOException