de.jiac.micro.sunspot.aodv
Class MessageInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.github.libxjava.io.BufferedInputStream
          extended by de.jiac.micro.sunspot.aodv.MessageInputStream
All Implemented Interfaces:
Closeable

public final class MessageInputStream
extends com.github.libxjava.io.BufferedInputStream

Version:
$Revision:$
Author:
Marcel Patzlaff

Field Summary
 
Fields inherited from class com.github.libxjava.io.BufferedInputStream
bufsize, worklock
 
Constructor Summary
MessageInputStream(de.jiac.micro.sunspot.aodv.ProtocolManager protocol)
           
 
Method Summary
protected  int internalRead(byte[] buffer)
           
 void setMessageID(MessageID mid)
           
 
Methods inherited from class com.github.libxjava.io.BufferedInputStream
available, clear, getPayloadEnd, getPayloadStart, read, read
 
Methods inherited from class java.io.InputStream
close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageInputStream

public MessageInputStream(de.jiac.micro.sunspot.aodv.ProtocolManager protocol)
Method Detail

setMessageID

public void setMessageID(MessageID mid)

internalRead

protected int internalRead(byte[] buffer)
                    throws IOException
Specified by:
internalRead in class com.github.libxjava.io.BufferedInputStream
Throws:
IOException


Copyright © 2008-2011 DAI-Labor. All Rights Reserved.