RiverRat  - An MIT iCampus project http://web.mit.edu/riverrat/

Main Page | Software Documentation | Hardware Documentation | People | Contact | Wiki

Main Page | Class Hierarchy | Class List | File List | Class Members

riverrat.testing.DelayedInputStream Class Reference

Licensed under the Apache License. More...

List of all members.

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


Detailed Description

Licensed under the Apache License.

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.

Author:
Andy Clark, IBM

Definition at line 18 of file DelayedInputStream.java.


The documentation for this class was generated from the following file:  

Brought to you by the RiverRat team.