anon.client
Class AbstractDataChain.DataChainInputStreamImplementation

java.lang.Object
  extended by java.io.InputStream
      extended by anon.client.AbstractDataChain.DataChainInputStreamImplementation
All Implemented Interfaces:
java.io.Closeable
Enclosing class:
AbstractDataChain

private class AbstractDataChain.DataChainInputStreamImplementation
extends java.io.InputStream


Field Summary
private  boolean m_closed
           
private  java.util.Vector m_queueEntries
           
 
Constructor Summary
private AbstractDataChain.DataChainInputStreamImplementation()
           
 
Method Summary
 void addToQueue(DataChainInputStreamQueueEntry a_entry)
           
 int available()
           
 void close()
           
 int read()
           
 int read(byte[] a_buffer, int a_offset, int a_length)
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_closed

private boolean m_closed

m_queueEntries

private java.util.Vector m_queueEntries
Constructor Detail

AbstractDataChain.DataChainInputStreamImplementation

private AbstractDataChain.DataChainInputStreamImplementation()
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

read

public int read(byte[] a_buffer,
                int a_offset,
                int a_length)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

available

public int available()
              throws java.io.IOException
Overrides:
available in class java.io.InputStream
Throws:
java.io.IOException

close

public void close()
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream

addToQueue

public void addToQueue(DataChainInputStreamQueueEntry a_entry)