Interface AuditTransmissionProtocol
- All Known Implementing Classes:
AbstractFhirRestTLSAuditRecordSender
,ApacheFhirRestTLSAuditRecordSender
,MethanolFhirRestTLSAuditRecordSender
,NettyTLSSyslogSenderImpl
,NioTLSSyslogSenderImpl
,ReactorNettyTLSSyslogSenderImpl
,RecordingAuditMessageTransmission
,TLSSyslogSenderImpl
,UDPSyslogSenderImpl
,VertxTLSSyslogSenderImpl
,VertxUDPSyslogSenderImpl
public interface AuditTransmissionProtocol
Implementations of this interface transmit the serialized
AuditMessage
to an AuditRepository using IP protocols like TCP or UDP, usually wrapped into a carrier protocol (such as SYSLOG).- Since:
- 3.5
- Author:
- Christian Ohr
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
send
(AuditContext auditContext, String auditMessage) Transmits the messagevoid
send
(AuditContext auditContext, AuditMetadataProvider auditMetadataProvider, String auditMessage) Transmits the messagevoid
shutdown()
May be implemented to clean up instances on shut down
-
Field Details
-
JAVAX_NET_DEBUG
- See Also:
-
JAVAX_NET_SSL_TRUSTSTORE
- See Also:
-
JAVAX_NET_SSL_TRUSTSTORE_TYPE
- See Also:
-
JAVAX_NET_SSL_TRUSTSTORE_PASSWORD
- See Also:
-
JAVAX_NET_SSL_KEYSTORE
- See Also:
-
JAVAX_NET_SSL_KEYSTORE_TYPE
- See Also:
-
JAVAX_NET_SSL_KEYSTORE_PASSWORD
- See Also:
-
JAVAX_TLS_CLIENT_CIPHERSUITES
- See Also:
-
JAVAX_TLS_SERVER_CIPHERSUITES
- See Also:
-
HTTPS_CIPHERSUITES
- See Also:
-
JDK_TLS_CLIENT_PROTOCOLS
- See Also:
-
-
Method Details
-
send
Transmits the message- Parameters:
auditContext
- audit context that e.g. contains the destinationauditMessage
- audit message- Throws:
Exception
- thrown if sending the messages has failed
-
send
void send(AuditContext auditContext, AuditMetadataProvider auditMetadataProvider, String auditMessage) throws Exception Transmits the message- Parameters:
auditContext
- audit context that e.g. contains the destinationauditMetadataProvider
- dedicated (message-specific) audit metadataauditMessage
- audit message strings- Throws:
Exception
- thrown if sending the messages has failed
-
shutdown
void shutdown()May be implemented to clean up instances on shut down -
getTransportName
String getTransportName()- Returns:
- name of the AuditTransmissionProtocol
-