Class ReactorNettyTLSSyslogSenderImpl

All Implemented Interfaces:
AuditTransmissionProtocol

public class ReactorNettyTLSSyslogSenderImpl extends NioTLSSyslogSenderImpl<reactor.netty.Connection,ReactorNettyTLSSyslogSenderImpl.ReactorNettyDestination>
Reactor Netty client implementation of RFC 5425 TLS syslog transport for sending audit messages to an Audit Record Repository that implements TLS syslog. Multiple messages may be sent over the same socket.
Since:
4.0
Author:
Christian Ohr
  • Constructor Details

    • ReactorNettyTLSSyslogSenderImpl

      public ReactorNettyTLSSyslogSenderImpl(TlsParameters tlsParameters)
  • Method Details

    • getTransportName

      public String getTransportName()
      Returns:
      name of the AuditTransmissionProtocol
    • makeDestination

      protected ReactorNettyTLSSyslogSenderImpl.ReactorNettyDestination makeDestination(TlsParameters tlsParameters, String host, int port, boolean logging)
      Specified by:
      makeDestination in class NioTLSSyslogSenderImpl<reactor.netty.Connection,ReactorNettyTLSSyslogSenderImpl.ReactorNettyDestination>
    • setConnectTimeout

      public void setConnectTimeout(int value, TimeUnit timeUnit)
      Sets the connect timeout
      Parameters:
      value - time value
      timeUnit - time unit
    • setSendTimeout

      public void setSendTimeout(int value, TimeUnit timeUnit)
      Sets the send timeout
      Parameters:
      value - time value
      timeUnit - time unit
    • setWorkerThreads

      public void setWorkerThreads(int workerThreads)
      Set the number of working threads. This corresponds with the number of connections being opened. Defaults to 1.
      Parameters:
      workerThreads - number of worker threads.