|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TCPClient
Interface required by TCPSampler for TCPClient implementations.
Method Summary | |
---|---|
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)
|
Method Detail |
---|
void setupTest()
void teardownTest()
void write(OutputStream os, InputStream is) throws IOException
os
- -
OutputStream for socketis
- -
InputStream to be written to Socket
IOException
void write(OutputStream os, String s) throws IOException
os
- -
OutputStream for sockets
- -
String to write
IOException
String read(InputStream is) throws ReadException
is
- -
InputStream for socket
ReadException
- exception that can contain partial response (Response until error occured)byte getEolByte()
String getCharset()
void setEolByte(int eolInt)
eolInt
- The value to set
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |