public final class EchoTCPClient extends DiscardTCPClient
EchoUDPClient
,
DiscardTCPClient
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PORT
The default echo port.
|
_defaultPort_, _input_, _isConnected_, _output_, _socket_, _socketFactory_, _timeout_, NETASCII_EOL
Constructor and Description |
---|
EchoTCPClient()
The default EchoTCPClient constructor.
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream()
Returns an InputStream from which you may read echoed data from
the server.
|
getOutputStream
_connectAction_, connect, connect, connect, connect, connect, connect, disconnect, getDefaultPort, getDefaultTimeout, getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort, getSoLinger, getSoTimeout, getTcpNoDelay, isConnected, setDefaultPort, setDefaultTimeout, setSocketFactory, setSoLinger, setSoTimeout, setTcpNoDelay, verifyRemote
public static final int DEFAULT_PORT
public EchoTCPClient()
DEFAULT_PORT
.public java.io.InputStream getInputStream()
Copyright © 1997-2002 Daniel F. Savarese. All Rights Reserved.