public class SslTcpOutputStream extends TcpOutputStream implements FlushableCloseable
socket. Uses SSLSocketFactory.getDefault() to create the socket.outputLock| Constructor and Description |
|---|
SslTcpOutputStream(java.net.InetAddress address,
int port)
Creates a SSL TCP output stream.
|
SslTcpOutputStream(java.net.InetAddress address,
int port,
boolean blockOnReconnect)
Creates a SSL TCP output stream.
|
close, flush, getErrors, isBlockOnReconnect, isConnected, setBlockOnReconnect, write, write, writepublic SslTcpOutputStream(java.net.InetAddress address,
int port)
throws java.io.IOException
default socket factory to create the socket.address - the address to connect toport - the port to connect tojava.io.IOException - if an I/O error occurs when creating the socketpublic SslTcpOutputStream(java.net.InetAddress address,
int port,
boolean blockOnReconnect)
throws java.io.IOException
default socket factory to create the socket.address - the address to connect toport - the port to connect toblockOnReconnect - true to block when attempting to reconnect the socket or false to
reconnect asynchronouslyjava.io.IOException - if an I/O error occurs when creating the socket