|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
org.apache.jmeter.protocol.tcp.sampler.TCPClientDecorator
public abstract class TCPClientDecorator
Field Summary | |
---|---|
protected TCPClient |
tcpClient
|
Fields inherited from class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient |
---|
eolByte, useEolByte |
Constructor Summary | |
---|---|
TCPClientDecorator(TCPClient tcpClient)
|
Method Summary | |
---|---|
static int |
byteArrayToInt(byte[] b)
Convert byte array to int. |
static byte[] |
intToByteArray(int value,
int len)
Convert int to byte array. |
Methods inherited from class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient |
---|
getEolByte, setEolByte, setupTest, teardownTest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jmeter.protocol.tcp.sampler.TCPClient |
---|
read, write, write |
Field Detail |
---|
protected final TCPClient tcpClient
Constructor Detail |
---|
public TCPClientDecorator(TCPClient tcpClient)
Method Detail |
---|
public static byte[] intToByteArray(int value, int len)
value
- - int to be convertedlen
- - length of required byte array
java.lang.IllegalArgumentException
- if not length 2 or 4 or outside range of a short int.public static int byteArrayToInt(byte[] b)
b
- - Byte array to be converted
java.lang.IllegalArgumentException
- if ba is null or not length 2 or 4
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |