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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.bootstrap.Bootstrap
getBootstrap()
io.netty.channel.ChannelFuture
getHandle()
void
shutdown()
Shut down the destinationvoid
write(byte[] bytes)
Write the audit record to the destination
-
-
-
Method Detail
-
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
-
-