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
- Version:
- $Revision: 1.6.2.2 $ $Date: 2004/06/10 15:10:25 $
| 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
read
public String read(InputStream is)
- Specified by:
read in interface TCPClient
- Parameters:
is - - InputStream for socket
- Returns:
- String read from socket
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
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-2005 Apache Software Foundation. All Rights Reserved.