Apache JMeter
2.0.1.20050615

org.apache.jmeter.protocol.tcp.sampler
Class TCPClientImpl

java.lang.Object
  extended byorg.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 $

Constructor Summary
TCPClientImpl()
           
 
Method Summary
 byte getEolByte()
           
 String read(InputStream is)
           
 void setEolByte(byte eolByte)
           
 void setupTest()
           
 void teardownTest()
           
 void write(OutputStream os, InputStream is)
           
 void write(OutputStream os, String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCPClientImpl

public TCPClientImpl()
Method Detail

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 socket
s - - 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 socket
is - - 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.

Apache JMeter
2.0.1.20050615

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.