org.apache.jmeter.protocol.tcp.sampler
Class TCPClientImpl
- TCPClient
public class TCPClientImpl
Sample TCPClient implementation.
Reads data until the defined EOL byte is reached.
If there is no EOL byte defined, then reads until
the end of the stream is reached.
The EOL byte is defined by the property "tcp.eolByte".
String | read(InputStream is) - Reads data until the defined EOL byte is reached.
|
void | write(OutputStream os, InputStream is)
|
void | write(OutputStream os, String s)
|
TCPClientImpl
public TCPClientImpl()
read
public String read(InputStream is)
Reads data until the defined EOL byte is reached.
If there is no EOL byte defined, then reads until
the end of the stream is reached.
- read in interface TCPClient
write
public void write(OutputStream os,
InputStream is)
- write in interface TCPClient
write
public void write(OutputStream os,
String s)
- write in interface TCPClient
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.