Class VertxTLSSyslogSenderImpl.VertxDestination
java.lang.Object
org.openehealth.ipf.commons.audit.protocol.VertxTLSSyslogSenderImpl.VertxDestination
- All Implemented Interfaces:
NioTLSSyslogSenderImpl.Destination<String>
- Enclosing class:
- VertxTLSSyslogSenderImpl
public static class VertxTLSSyslogSenderImpl.VertxDestination
extends Object
implements NioTLSSyslogSenderImpl.Destination<String>
-
Constructor Summary
ConstructorDescriptionVertxDestination
(io.vertx.core.Vertx vertx, VertxTlsParameters tlsParameters, String host, int port) -
Method Summary
-
Constructor Details
-
VertxDestination
public VertxDestination(io.vertx.core.Vertx vertx, VertxTlsParameters tlsParameters, String host, int port)
-
-
Method Details
-
write
public void write(byte[] bytes) Description copied from interface:NioTLSSyslogSenderImpl.Destination
Write the audit record to the destination- Specified by:
write
in interfaceNioTLSSyslogSenderImpl.Destination<String>
- Parameters:
bytes
- audit record content
-
shutdown
public void shutdown()Description copied from interface:NioTLSSyslogSenderImpl.Destination
Shut down the destination- Specified by:
shutdown
in interfaceNioTLSSyslogSenderImpl.Destination<String>
-
getHandle
- Specified by:
getHandle
in interfaceNioTLSSyslogSenderImpl.Destination<String>
- Returns:
- a handle of the underlying NIO framework (e.g. a session)
-