|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.mq.il.uil.multiplexor.StreamDemux
This class is used to demultiplex from a single stream into multiple streams.
| Constructor Summary | |
StreamDemux(InputStream in)
StreamMux constructor comment. |
|
| Method Summary | |
boolean |
attemptLock()
|
int |
available(org.jboss.mq.il.uil.multiplexor.DemuxInputStream s)
|
short |
getFrameSize()
Creation date: (11/15/00 5:30:55 PM) |
InputStream |
getStream(short id)
|
void |
pumpData(org.jboss.mq.il.uil.multiplexor.DemuxInputStream dest)
Pumps data to all input streams until data for the dest Stream arrives. |
void |
releaseLock()
|
void |
setFrameSize(short newFrameSize)
Creation date: (11/15/00 5:30:55 PM) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StreamDemux(InputStream in) throws IOException
in - Description of Parameter
IOException - Description of Exception| Method Detail |
public void setFrameSize(short newFrameSize)
throws IOException
newFrameSize - short
IOException - Description of Exceptionpublic short getFrameSize()
public InputStream getStream(short id) throws IOException
IOException
public int available(org.jboss.mq.il.uil.multiplexor.DemuxInputStream s)
throws IOException
IOException
public boolean attemptLock()
throws InterruptedIOException
InterruptedIOExceptionpublic void releaseLock()
public void pumpData(org.jboss.mq.il.uil.multiplexor.DemuxInputStream dest)
throws IOException
dest - Description of Parameter
IOException - Description of Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||