org.apache.jmeter.protocol.tcp.sampler
Interface TCPClient
- All Known Implementing Classes:
- TCPClientImpl
- public interface TCPClient
Interface required by TCPSampler for TCPClient implementations.
setupTest
public void setupTest()
teardownTest
public void teardownTest()
write
public void write(OutputStream os,
InputStream is)
- Parameters:
os
- -
OutputStream for socketis
- -
InputStream to be written to Socket
write
public void write(OutputStream os,
String s)
- Parameters:
os
- -
OutputStream for sockets
- -
String to write
read
public String read(InputStream is)
- Parameters:
is
- -
InputStream for socket
- Returns:
- String read from socket
getEolByte
public byte getEolByte()
- Returns:
- Returns the eolByte.
setEolByte
public void setEolByte(byte eolByte)
- Parameters:
eolByte
- The eolByte to set.
Copyright © 1998-2008 Apache Software Foundation. All Rights Reserved.