Class RFC5425Protocol
java.lang.Object
org.openehealth.ipf.commons.audit.protocol.RFC5424Protocol
org.openehealth.ipf.commons.audit.protocol.RFC5425Protocol
- Direct Known Subclasses:
NioTLSSyslogSenderImpl
,TLSSyslogSenderImpl
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 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
-
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 withRFC5424Protocol()
- Overrides:
getTransportPayload
in classRFC5424Protocol
- Parameters:
auditMetadataProvider
- audit meta dataauditMessage
- message to prepare- Returns:
- serialized message
-