de.jiac.micro.sunspot.aodv
Class MessageOutputStream
java.lang.Object
java.io.OutputStream
com.github.libxjava.io.BufferedOutputStream
de.jiac.micro.sunspot.aodv.MessageOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public final class MessageOutputStream
- extends com.github.libxjava.io.BufferedOutputStream
- Version:
- $Revision:$
- Author:
- Marcel Patzlaff
| Fields inherited from class com.github.libxjava.io.BufferedOutputStream |
bufsize, worklock |
| Methods inherited from class com.github.libxjava.io.BufferedOutputStream |
clear, close, flush, getPayloadEnd, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageOutputStream
public MessageOutputStream(de.jiac.micro.sunspot.aodv.ProtocolManager protocol)
setMessageID
public void setMessageID(MessageID mid)
getPayloadStart
protected int getPayloadStart()
- Overrides:
getPayloadStart in class com.github.libxjava.io.BufferedOutputStream
internalWrite
protected void internalWrite(byte[] buffer,
int end,
boolean flushed)
throws IOException
- Specified by:
internalWrite in class com.github.libxjava.io.BufferedOutputStream
- Throws:
IOException
Copyright © 2008-2011 DAI-Labor. All Rights Reserved.