org.apache.jmeter.protocol.tcp.sampler
Interface TCPClient
- AbstractTCPClient, BinaryTCPClientImpl, LengthPrefixedBinaryTCPClientImpl, TCPClientDecorator, TCPClientImpl
public interface TCPClient
Interface required by TCPSampler for TCPClient implementations.
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)
|
getEolByte
public byte getEolByte()
Get the end-of-line/end-of-message byte.
read
public String read(InputStream is)
is
- -
InputStream for socket
setEolByte
public void setEolByte(int eolInt)
Set the end-of-line/end-of-message byte.
If the value is out of range of a byte, then it is to be ignored.
eolInt
- The value to set
setupTest
public void setupTest()
Versions of JMeter after 2.3.2 invoke this method when the thread starts.
teardownTest
public void teardownTest()
Versions of JMeter after 2.3.2 invoke this method when the thread ends.
write
public void write(OutputStream os,
InputStream is)
os
- -
OutputStream for socketis
- -
InputStream to be written to Socket
write
public void write(OutputStream os,
String s)
os
- -
OutputStream for sockets
- -
String to write
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.