kg.apc.jmeter.samplers
Class DNSJavaTCPClientImpl

java.lang.Object
  extended by kg.apc.jmeter.samplers.DNSJavaDecoder
      extended by kg.apc.jmeter.samplers.DNSJavaTCPClientImpl
All Implemented Interfaces:
UDPTrafficDecoder, org.apache.jmeter.protocol.tcp.sampler.TCPClient

public class DNSJavaTCPClientImpl
extends DNSJavaDecoder
implements org.apache.jmeter.protocol.tcp.sampler.TCPClient

Author:
undera

Field Summary
 
Fields inherited from class kg.apc.jmeter.samplers.DNSJavaDecoder
NL, SPACE
 
Constructor Summary
DNSJavaTCPClientImpl()
           
 
Method Summary
 String getCharset()
           
 byte getEolByte()
           
protected  byte[] getLengthPrefix(int length)
           
 String read(InputStream in)
           
 void setEolByte(int i)
           
 void setupTest()
           
 void teardownTest()
           
 void write(OutputStream out, InputStream in)
           
 void write(OutputStream out, String string)
           
 
Methods inherited from class kg.apc.jmeter.samplers.DNSJavaDecoder
decode, encode, getMessageBytes, getRecord
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DNSJavaTCPClientImpl

public DNSJavaTCPClientImpl()
Method Detail

setupTest

public void setupTest()
Specified by:
setupTest in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient

teardownTest

public void teardownTest()
Specified by:
teardownTest in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient

write

public void write(OutputStream out,
                  InputStream in)
Specified by:
write in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient

write

public void write(OutputStream out,
                  String string)
Specified by:
write in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient

getLengthPrefix

protected byte[] getLengthPrefix(int length)

read

public String read(InputStream in)
Specified by:
read in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient

getEolByte

public byte getEolByte()
Specified by:
getEolByte in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient

setEolByte

public void setEolByte(int i)
Specified by:
setEolByte in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient

getCharset

public String getCharset()
Specified by:
getCharset in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient


Copyright © 2013. All Rights Reserved.