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

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.PipedInputStream
          extended byorg.apache.directory.shared.ldap.util.ParserPipedInputStream

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: 379008 $
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
Throws:
java.io.IOException


Copyright © 2003-2006 . All Rights Reserved.