Interface NioTLSSyslogSenderImpl.Destination<H>

Type Parameters:
H -
All Known Implementing Classes:
NettyTLSSyslogSenderImpl.NettyDestination, ReactorNettyTLSSyslogSenderImpl.ReactorNettyDestination, VertxTLSSyslogSenderImpl.VertxDestination
Enclosing class:
NioTLSSyslogSenderImpl<H,D extends NioTLSSyslogSenderImpl.Destination<H>>

public static interface NioTLSSyslogSenderImpl.Destination<H>
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Shut down the destination
    void
    write(byte[] bytes)
    Write the audit record to the destination
  • Method Details

    • write

      void write(byte[] bytes)
      Write the audit record to the destination
      Parameters:
      bytes - audit record content
    • shutdown

      void shutdown()
      Shut down the destination
    • getHandle

      H getHandle()
      Returns:
      a handle of the underlying NIO framework (e.g. a session)
      Throws:
      RuntimeException - (or a subclass thereof) if no handle could be obtained