org.apache.jmeter.protocol.tcp.sampler
Class TCPClientImpl
java.lang.Object
org.apache.jmeter.protocol.tcp.sampler.TCPClientImpl
- All Implemented Interfaces:
- TCPClient
- public class TCPClientImpl
- extends Object
- implements TCPClient
Sample TCPClient implementation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCPClientImpl
public TCPClientImpl()
setupTest
public void setupTest()
- Specified by:
setupTest
in interface TCPClient
teardownTest
public void teardownTest()
- Specified by:
teardownTest
in interface TCPClient
write
public void write(OutputStream os,
String s)
- Specified by:
write
in interface TCPClient
- Parameters:
os
- -
OutputStream for sockets
- -
String to write
write
public void write(OutputStream os,
InputStream is)
- Specified by:
write
in interface TCPClient
- Parameters:
os
- -
OutputStream for socketis
- -
InputStream to be written to Socket
read
public String read(InputStream is)
- Specified by:
read
in interface TCPClient
- Parameters:
is
- -
InputStream for socket
- Returns:
- String read from socket
getEolByte
public byte getEolByte()
- Specified by:
getEolByte
in interface TCPClient
- Returns:
- Returns the eolByte.
setEolByte
public void setEolByte(byte eolByte)
- Specified by:
setEolByte
in interface TCPClient
- Parameters:
eolByte
- The eolByte to set.
Copyright © 1998-2008 Apache Software Foundation. All Rights Reserved.