public interface TCPClient
Modifier and Type | Method and Description |
---|---|
String |
getCharset()
Get the charset.
|
byte |
getEolByte()
Get the end-of-line/end-of-message byte.
|
String |
read(InputStream is) |
void |
setEolByte(int eolInt)
Set the end-of-line/end-of-message byte.
|
void |
setupTest()
Versions of JMeter after 2.3.2 invoke this method when the thread starts.
|
void |
teardownTest()
Versions of JMeter after 2.3.2 invoke this method when the thread ends.
|
void |
write(OutputStream os,
InputStream is) |
void |
write(OutputStream os,
String s) |
void setupTest()
void teardownTest()
void write(OutputStream os, InputStream is) throws IOException
os
- -
OutputStream for socketis
- -
InputStream to be written to SocketIOException
- when writing failsvoid write(OutputStream os, String s) throws IOException
os
- -
OutputStream for sockets
- -
String to writeIOException
- when writing failsString read(InputStream is) throws ReadException
is
- -
InputStream for socketReadException
- exception that can contain partial response (Response until error occured)byte getEolByte()
String getCharset()
void setEolByte(int eolInt)
eolInt
- The value to setCopyright © 1998-2016 Apache Software Foundation. All Rights Reserved.