org.jboss.logmanager.handlers
Class SslTcpOutputStream
java.lang.Object
java.io.OutputStream
org.jboss.logmanager.handlers.TcpOutputStream
org.jboss.logmanager.handlers.SslTcpOutputStream
- All Implemented Interfaces:
- Closeable, Flushable, FlushableCloseable
public class SslTcpOutputStream
- extends TcpOutputStream
- implements FlushableCloseable
An output stream that writes data to a socket. Uses SSLSocketFactory.getDefault() to create the socket.
- Author:
- James R. Perkins
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SslTcpOutputStream
public SslTcpOutputStream(InetAddress address,
int port)
throws IOException
- Creates a SSL TCP output stream.
Uses the
default socket factory to create the socket.
- Parameters:
address - the address to connect toport - the port to connect to
- Throws:
IOException - if an I/O error occurs when creating the socket
SslTcpOutputStream
public SslTcpOutputStream(InetAddress address,
int port,
boolean blockOnReconnect)
throws IOException
- Creates a SSL TCP output stream.
Uses the
default socket factory to create the socket.
- Parameters:
address - the address to connect toport - the port to connect toblockOnReconnect - true to block when attempting to reconnect the socket or false to
reconnect asynchronously
- Throws:
IOException - if an I/O error occurs when creating the socket
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.