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.Destination
Shut down the destination- Specified by:
shutdown
in interfaceNioTLSSyslogSenderImpl.Destination<io.netty.channel.ChannelFuture>
-
getHandle
public io.netty.channel.ChannelFuture getHandle()- Specified by:
getHandle
in 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.Destination
Write the audit record to the destination- Specified by:
write
in interfaceNioTLSSyslogSenderImpl.Destination<io.netty.channel.ChannelFuture>
- Parameters:
bytes
- audit record content
-