EchoTCPClient
public class DiscardTCPClient extends SocketClient
connect
and call getOutputStream()
to
retrieve the discard output stream. Don't close the output stream
when you're done writing to it. Rather, call
disconnect
to clean up properly.DiscardUDPClient
Modifier and Type | Field | Description |
---|---|---|
static int |
DEFAULT_PORT |
The default discard port.
|
_defaultPort_, _hostname_, _input_, _output_, _serverSocketFactory_, _socket_, _socketFactory_, _timeout_, connectTimeout, NETASCII_EOL
Constructor | Description |
---|---|
DiscardTCPClient() |
The default DiscardTCPClient constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.io.OutputStream |
getOutputStream() |
Returns an OutputStream through which you may write data to the server.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_connectAction_, addProtocolCommandListener, connect, connect, connect, connect, connect, connect, createCommandSupport, disconnect, fireCommandSent, fireReplyReceived, getCharset, getCharsetName, getCommandSupport, getConnectTimeout, getDefaultPort, getDefaultTimeout, getKeepAlive, getLocalAddress, getLocalPort, getProxy, getReceiveBufferSize, getRemoteAddress, getRemotePort, getSendBufferSize, getServerSocketFactory, getSoLinger, getSoTimeout, getTcpNoDelay, isAvailable, isConnected, removeProtocolCommandListener, setCharset, setConnectTimeout, setDefaultPort, setDefaultTimeout, setKeepAlive, setProxy, setReceiveBufferSize, setSendBufferSize, setServerSocketFactory, setSocketFactory, setSoLinger, setSoTimeout, setTcpNoDelay, verifyRemote
public static final int DEFAULT_PORT
public DiscardTCPClient()
DEFAULT_PORT
.public java.io.OutputStream getOutputStream()
disconnect
to clean up properly.