org.mule.transport.tcp.integration
Class BigInputStream

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

public class BigInputStream
extends InputStream


Constructor Summary
BigInputStream(long size, int messages)
           
 
Method Summary
 int available()
           
 int read()
           
 String summary()
           
 
Methods inherited from class java.io.InputStream
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

available

public int available()
              throws IOException
Overrides:
available in class InputStream
Throws:
IOException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.