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 Summary
Constructors Constructor Description RFC5424Protocol()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
getTransportPayload(AuditMetadataProvider auditMetadataProvider, String auditMessage)
Serialize the syslog message payload body for sending by this transport.
-
-
-
Method Detail
-
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 withRFC5424Protocol()
- Parameters:
auditMetadataProvider
- audit meta dataauditMessage
- message to prepare- Returns:
- serialized message
-
-