Interface NioTLSSyslogSenderImpl.Destination<H>
-
- Type Parameters:
H
-
- All Known Implementing Classes:
NettyTLSSyslogSenderImpl.NettyDestination
,ReactorNettyTLSSyslogSenderImpl.ReactorNettyDestination
,VertxTLSSyslogSenderImpl.VertxDestination
- Enclosing class:
- NioTLSSyslogSenderImpl<H,D extends NioTLSSyslogSenderImpl.Destination<H>>
public static interface NioTLSSyslogSenderImpl.Destination<H>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description H
getHandle()
void
shutdown()
Shut down the destinationvoid
write(byte[] bytes)
Write the audit record to the destination
-
-
-
Method Detail
-
write
void write(byte[] bytes)
Write the audit record to the destination- Parameters:
bytes
- audit record content
-
shutdown
void shutdown()
Shut down the destination
-
getHandle
H getHandle()
- Returns:
- a handle of the underlying NIO framework (e.g. a session)
- Throws:
RuntimeException
- (or a subclass thereof) if no handle could be obtained
-
-