|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
equip.runtime.MbufInputStream
Concrete Message buffer (Mbuf) input stream.
| Field Summary | |
protected Mbuf |
buf
|
protected int |
pos
|
| Constructor Summary | |
MbufInputStream()
Default no-arg constructor (use reset(equip.runtime.Mbuf) to initialise
for reading). |
|
| Method Summary | |
int |
read()
input stream API (return -1 for end of stream) |
int |
read2(byte[] cbuf,
int minSize,
int maxSize)
internal implementation of read() |
void |
reset(Mbuf first)
reset/set new linked list of message buffers to read from |
| Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Mbuf buf
protected int pos
| Constructor Detail |
public MbufInputStream()
reset(equip.runtime.Mbuf) to initialise
for reading).
| Method Detail |
public int read()
throws java.io.IOException
java.io.IOExceptionpublic void reset(Mbuf first)
public int read2(byte[] cbuf,
int minSize,
int maxSize)
read()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||