Interface NioTLSSyslogSenderImpl.Destination<H>
- Type Parameters:
H-
- All Known Implementing Classes:
NettyTLSSyslogSenderImpl.NettyDestination,ReactorNettyTLSSyslogSenderImpl.ReactorNettyDestination
- Enclosing class:
NioTLSSyslogSenderImpl<H,D extends NioTLSSyslogSenderImpl.Destination<H>>
public static interface NioTLSSyslogSenderImpl.Destination<H>
-
Method Summary
-
Method Details
-
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
-