RiverRat - An MIT iCampus project | http://web.mit.edu/riverrat/ |
Public Member Functions | |
DelayedInputStream (InputStream in) | |
Constructs a delayed input stream from the specified input stream. | |
int | read (byte[] buffer, int offset, int length) throws IOException |
Performs a delayed block read. | |
Static Package Attributes | |
final boolean | DEBUG = false |
final int | DELAY_FACTOR = 100 |
final int | BLOCK_SIZE = 10 |
Delayed input stream filter. This class will limit block reads to a small number of bytes (suitable for display on a standard 80 column terminal) pausing in small increments, randomly. This lets you can verify that the parser can parse the input and make the appropriate callbacks as the data arrives.
Definition at line 18 of file DelayedInputStream.java.