|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.Socket
org.apache.jmeter.util.SlowSocket
public class SlowSocket
"Slow" (non-SSL) socket implementation to emulate dial-up modems etc
Constructor Summary | |
---|---|
SlowSocket(int cps,
java.lang.String host,
int port)
|
|
SlowSocket(int cps,
java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort)
|
|
SlowSocket(int cps,
java.lang.String host,
int port,
java.net.InetAddress localAddress,
int localPort,
int timeout)
|
Method Summary | |
---|---|
java.io.InputStream |
getInputStream()
|
java.io.OutputStream |
getOutputStream()
|
Methods inherited from class java.net.Socket |
---|
bind, close, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SlowSocket(int cps, java.lang.String host, int port, java.net.InetAddress localAddress, int localPort, int timeout) throws java.io.IOException
java.io.IOException
public SlowSocket(int cps, java.lang.String host, int port, java.net.InetAddress localAddr, int localPort) throws java.io.IOException
cps
- characters per secondhost
- hostnameport
- portlocalAddr
- local addresslocalPort
- local port
java.io.IOException
java.lang.IllegalArgumentException
- if cps <=0public SlowSocket(int cps, java.lang.String host, int port) throws java.net.UnknownHostException, java.io.IOException
cps
- characters per secondhost
- hostnameport
- port
java.net.UnknownHostException
java.io.IOException
java.lang.IllegalArgumentException
- if cps <=0Method Detail |
---|
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in class java.net.Socket
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class java.net.Socket
java.io.IOException
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |