org.mule.providers.tcp.integration
Class BigInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.mule.providers.tcp.integration.BigInputStream
All Implemented Interfaces:
Closeable

public class BigInputStream
extends InputStream


Constructor Summary
BigInputStream(long size, int messages)
           
 
Method Summary
 int read()
           
 String summary()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigInputStream

public BigInputStream(long size,
                      int messages)
Parameters:
size - Number of bytes to transfer
messages - Number of mesagges logged as INFO
Method Detail

summary

public String summary()
Returns:
String matching FunctionalStreamingTestComponent

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.