Class RFC5425Protocol

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

public class RFC5425Protocol extends RFC5424Protocol
Base client implementation of RFC 5425 syslog for sending audit messages to an Audit Record Repository that implements RFC 5425 (SYSLOG via TLS).
Since:
4.0
Author:
Christian Ohr
  • Constructor Details

    • RFC5425Protocol

      public RFC5425Protocol()
  • Method Details

    • getTransportPayload

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