Class TlsSyslogServer
java.lang.Object
org.openehealth.ipf.commons.audit.server.SyslogServer<reactor.netty.DisposableChannel>
org.openehealth.ipf.commons.audit.server.TlsSyslogServer
- All Implemented Interfaces:
Closeable, AutoCloseable
TLS syslog server following RFC 5425.
- Since:
- 4.0
- Author:
- Christian Ohr
-
Field Summary
FieldsFields inherited from class SyslogServer
channel, consumer, errorConsumer, timeoutSeconds -
Constructor Summary
ConstructorsConstructorDescriptionTlsSyslogServer(Consumer<? super Map<String, Object>> consumer, Consumer<Throwable> errorConsumer, TlsParameters tlsParameters) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetMaxFrameLength(int maxFrameLength) Sets the maximum length of a syslog frame.Methods inherited from class SyslogServer
address, close, handleError, handleMap, handleMessage, setTimeoutSeconds, start, stop
-
Field Details
-
tlsParameters
-
-
Constructor Details
-
TlsSyslogServer
-
TlsSyslogServer
-
-
Method Details
-
setMaxFrameLength
public void setMaxFrameLength(int maxFrameLength) Sets the maximum length of a syslog frame. A client sending a longer frame is disconnected. Defaults toRfc5425Decoder.DEFAULT_MAX_FRAME_LENGTH. Applies to connections that are established after the change.- Parameters:
maxFrameLength- maximum frame length in bytes- Since:
- 6.0
-
doStart
- Specified by:
doStartin classSyslogServer<reactor.netty.DisposableChannel>
-