Class NettyTLSSyslogSenderImpl.NettyDestination
java.lang.Object
org.openehealth.ipf.commons.audit.protocol.NettyTLSSyslogSenderImpl.NettyDestination
- All Implemented Interfaces:
NioTLSSyslogSenderImpl.Destination<io.netty.channel.ChannelFuture>
- Enclosing class:
NettyTLSSyslogSenderImpl
public static final class NettyTLSSyslogSenderImpl.NettyDestination
extends Object
implements NioTLSSyslogSenderImpl.Destination<io.netty.channel.ChannelFuture>
Destination abstraction for Netty
-
Method Details
-
getBootstrap
public io.netty.bootstrap.Bootstrap getBootstrap() -
shutdown
public void shutdown()Description copied from interface:NioTLSSyslogSenderImpl.DestinationShut down the destination- Specified by:
shutdownin interfaceNioTLSSyslogSenderImpl.Destination<io.netty.channel.ChannelFuture>
-
getHandle
public io.netty.channel.ChannelFuture getHandle()- Specified by:
getHandlein interfaceNioTLSSyslogSenderImpl.Destination<io.netty.channel.ChannelFuture>- 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<io.netty.channel.ChannelFuture>- Parameters:
bytes- audit record content
-