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
Constructors Constructor Description VertxDestination(io.vertx.core.Vertx vertx, VertxTlsParameters tlsParameters, String host, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHandle()
void
shutdown()
Shut down the destinationvoid
write(byte[] bytes)
Write the audit record to the destination
-
-
-
Constructor Detail
-
VertxDestination
public VertxDestination(io.vertx.core.Vertx vertx, VertxTlsParameters tlsParameters, String host, int port)
-
-
Method Detail
-
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
public String getHandle()
- Specified by:
getHandle
in interfaceNioTLSSyslogSenderImpl.Destination<String>
- Returns:
- a handle of the underlying NIO framework (e.g. a session)
-
-