org.apache.jmeter.util
Class SlowSocket
Socket
org.apache.jmeter.util.SlowSocket
public class SlowSocket
extends Socket
"Slow" (non-SSL) socket implementation to emulate dial-up modems etc
SlowSocket(int cps, String host, int port)
|
SlowSocket(int cps, String host, int port, InetAddress localAddr, int localPort)
|
SlowSocket(int cps, String host, int port, InetAddress localAddress, int localPort, int timeout)
|
SlowSocket
public SlowSocket(int cps,
String host,
int port)
throws UnknownHostException,
IOException
cps
- characters per secondhost
- hostnameport
- port
SlowSocket
public SlowSocket(int cps,
String host,
int port,
InetAddress localAddr,
int localPort)
throws IOException
cps
- characters per secondhost
- hostnameport
- portlocalAddr
- local addresslocalPort
- local port
SlowSocket
public SlowSocket(int cps,
String host,
int port,
InetAddress localAddress,
int localPort,
int timeout)
throws IOException
getInputStream
public InputStream getInputStream()
throws IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.