Class SSLTCPNetSyslogWriter

  extended by
      extended by
          extended by
All Implemented Interfaces:, 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.

$Id:,v 1.4 2009/03/29 17:38:58 cvs Exp $
See Also:
Serialized Form

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

Constructor Detail


public SSLTCPNetSyslogWriter()
Method Detail


protected obtainSocketFactory()
obtainSocketFactory in class TCPNetSyslogWriter