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:
java.io.Closeable

public class ParserPipedInputStream
extends java.io.PipedInputStream

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

Version:
$Rev: 437007 $
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 java.io.IOException
Overrides:
receive in class java.io.PipedInputStream
Throws:
java.io.IOException


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.