Class RFC5424Protocol

java.lang.Object
org.openehealth.ipf.commons.audit.protocol.RFC5424Protocol
Direct Known Subclasses:
RFC5425Protocol, UDPSyslogSenderImpl, VertxUDPSyslogSenderImpl

public class RFC5424Protocol extends Object
Base client implementation of RFC 5424 syslog for sending audit messages to an Audit Record Repository that implements RFC 5424 SYSLOG.
Since:
3.5
Author:
Christian Ohr
  • Constructor Details

    • RFC5424Protocol

      public RFC5424Protocol()
  • Method Details

    • getTransportPayload

      protected byte[] getTransportPayload(AuditMetadataProvider auditMetadataProvider, String auditMessage)
      Serialize the syslog message payload body for sending by this transport. Must only be called if this object was initialized with RFC5424Protocol()
      Parameters:
      auditMetadataProvider - audit meta data
      auditMessage - message to prepare
      Returns:
      serialized message