org.apache.jmeter.protocol.tcp.sampler
public class LengthPrefixedBinaryTCPClientImpl extends TCPClientDecorator
tcpClient
eolByte, useEolByte
Constructor and Description |
---|
LengthPrefixedBinaryTCPClientImpl() |
Modifier and Type | Method and Description |
---|---|
byte |
getEolByte()
Not useful, as the byte is never used.
|
String |
read(InputStream is) |
void |
setEolByte(int eolInt)
Set the end-of-line/end-of-message byte.
|
void |
write(OutputStream os,
InputStream is) |
void |
write(OutputStream os,
String s) |
byteArrayToInt, intToByteArray
setupTest, teardownTest
public void write(OutputStream os, String s)
os
- -
OutputStream for sockets
- -
String to writepublic void write(OutputStream os, InputStream is)
os
- -
OutputStream for socketis
- -
InputStream to be written to Socketpublic String read(InputStream is)
is
- -
InputStream for socketpublic byte getEolByte()
Get the end-of-line/end-of-message byte.
getEolByte
in interface TCPClient
getEolByte
in class AbstractTCPClient
public void setEolByte(int eolInt)
setEolByte
in interface TCPClient
setEolByte
in class AbstractTCPClient
eolInt
- The value to setCopyright © 1998-2014 Apache Software Foundation. All Rights Reserved.