public class TCPClientImpl extends AbstractTCPClient
eolByte, useEolByte
Constructor and Description |
---|
TCPClientImpl() |
Modifier and Type | Method and Description |
---|---|
String |
read(InputStream is)
Reads data until the defined EOL byte is reached.
|
void |
write(OutputStream os,
InputStream is) |
void |
write(OutputStream os,
String s) |
getEolByte, setEolByte, 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 socketCopyright © 1998-2012 Apache Software Foundation. All Rights Reserved.