Class ReactorNettyTLSSyslogSenderImpl.ReactorNettyDestination
java.lang.Object
org.openehealth.ipf.commons.audit.protocol.ReactorNettyTLSSyslogSenderImpl.ReactorNettyDestination
- All Implemented Interfaces:
NioTLSSyslogSenderImpl.Destination<reactor.netty.Connection>
- Enclosing class:
ReactorNettyTLSSyslogSenderImpl
public static final class ReactorNettyTLSSyslogSenderImpl.ReactorNettyDestination
extends Object
implements NioTLSSyslogSenderImpl.Destination<reactor.netty.Connection>
Destination abstraction for Netty
-
Method Summary
-
Method Details
-
shutdown
public void shutdown()Description copied from interface:NioTLSSyslogSenderImpl.DestinationShut down the destination- Specified by:
shutdownin interfaceNioTLSSyslogSenderImpl.Destination<reactor.netty.Connection>
-
getHandle
public reactor.netty.Connection getHandle()- Specified by:
getHandlein interfaceNioTLSSyslogSenderImpl.Destination<reactor.netty.Connection>- Returns:
- a handle of the underlying NIO framework (e.g. a session)
-
write
public void write(byte[] bytes) Description copied from interface:NioTLSSyslogSenderImpl.DestinationWrite the audit record to the destination- Specified by:
writein interfaceNioTLSSyslogSenderImpl.Destination<reactor.netty.Connection>- Parameters:
bytes- audit record content
-