org.apache.directory.shared.ldap.util
Class ParserPipedInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.PipedInputStream
          extended by org.apache.directory.shared.ldap.util.ParserPipedInputStream
All Implemented Interfaces:
Closeable

public class ParserPipedInputStream
extends PipedInputStream

A piped input stream that fixes the "Read end Dead" issue when a single thread is used.

Version:
$Rev: 434411 $
Author:
Apache Directory Project

Field Summary
 
Fields inherited from class java.io.PipedInputStream
buffer, in, out, PIPE_SIZE
 
Constructor Summary
ParserPipedInputStream()
           
 
Method Summary
protected  void receive(int b)
           
 
Methods inherited from class java.io.PipedInputStream
available, close, connect, read, read
 
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
 

Constructor Detail

ParserPipedInputStream

public ParserPipedInputStream()
Method Detail

receive

protected void receive(int b)
                throws IOException
Overrides:
receive in class PipedInputStream
Throws:
IOException


Copyright © 2004-2012. All Rights Reserved.