org.apache.jmeter.util
Class SlowInputStream
FilterInputStream
org.apache.jmeter.util.SlowInputStream
public class SlowInputStream
extends FilterInputStream
InputStream wrapper to emulate a slow device, e.g. modem
SlowInputStream(InputStream in, int cps) - Wraps the input stream to emulate a slow device
|
int | read()
|
int | read(byte[] b, int off, int len)
|
SlowInputStream
public SlowInputStream(InputStream in,
int cps)
Wraps the input stream to emulate a slow device
in
- input streamcps
- characters per second to emulate
read
public int read()
throws IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.