Class RFC5424Protocol
java.lang.Object
org.openehealth.ipf.commons.audit.protocol.RFC5424Protocol
- Direct Known Subclasses:
RFC5425Protocol
,UDPSyslogSenderImpl
,VertxUDPSyslogSenderImpl
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]
getTransportPayload
(AuditMetadataProvider auditMetadataProvider, String auditMessage) Serialize the syslog message payload body for sending by this transport.
-
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 withRFC5424Protocol()
- Parameters:
auditMetadataProvider
- audit meta dataauditMessage
- message to prepare- Returns:
- serialized message
-