org.productivity.java.syslog4j.impl.net.tcp.ssl
Class SSLTCPNetSyslogWriter

java.lang.Object
  extended by org.productivity.java.syslog4j.impl.AbstractSyslogWriter
      extended by org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslogWriter
          extended by org.productivity.java.syslog4j.impl.net.tcp.ssl.SSLTCPNetSyslogWriter
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable

public class SSLTCPNetSyslogWriter
extends TCPNetSyslogWriter

SSLTCPNetSyslogWriter is an implementation of Runnable that supports sending TCP/IP-based (over SSL/TLS) messages within a separate Thread.

When used in "threaded" mode (see TCPNetSyslogConfig for the option), a queuing mechanism is used (via LinkedList).

Syslog4j is licensed under the Lesser GNU Public License v2.1. A copy of the LGPL license is available in the META-INF folder in all distributions of Syslog4j and in the base directory of the "doc" ZIP.

Version:
$Id: SSLTCPNetSyslogWriter.java,v 1.4 2009/03/29 17:38:58 cvs Exp $
Author:
<syslog4j@productivity.org>
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslogWriter
lastSocketCreationTimeMs, socket, tcpNetSyslog, tcpNetSyslogConfig
 
Fields inherited from class org.productivity.java.syslog4j.impl.AbstractSyslogWriter
queuedMessages, shutdown, syslog, syslogConfig, thread
 
Constructor Summary
SSLTCPNetSyslogWriter()
           
 
Method Summary
protected  javax.net.SocketFactory obtainSocketFactory()
           
 
Methods inherited from class org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslogWriter
closeSocket, createSocket, flush, getSocket, initialize, runCompleted, shutdown, write
 
Methods inherited from class org.productivity.java.syslog4j.impl.AbstractSyslogWriter
hasThread, queue, run, setThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLTCPNetSyslogWriter

public SSLTCPNetSyslogWriter()
Method Detail

obtainSocketFactory

protected javax.net.SocketFactory obtainSocketFactory()
Overrides:
obtainSocketFactory in class TCPNetSyslogWriter