public class UdpSyslogServer<T> extends Object implements org.thales.punch.netty.api.INettyReaderCallback<T>, Runnable, ISyslogServer
Constructor and Description |
---|
UdpSyslogServer(org.thales.punch.settings.api.ISettingsMap settings,
org.thales.punch.libraries.metrics.api.IMetricContext metricsContext,
ISyslogReceiver<T> receiver) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the server
|
Class<?> |
getType() |
void |
onReceive(io.netty.channel.ChannelHandlerContext channelHandlerContext,
org.thales.punch.netty.api.INettyTuple<T> tuple) |
void |
run() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onActive, onInactive, onThrowable
tick
public UdpSyslogServer(org.thales.punch.settings.api.ISettingsMap settings, org.thales.punch.libraries.metrics.api.IMetricContext metricsContext, ISyslogReceiver<T> receiver)
public void onReceive(io.netty.channel.ChannelHandlerContext channelHandlerContext, org.thales.punch.netty.api.INettyTuple<T> tuple)
onReceive
in interface org.thales.punch.netty.api.INettyReaderCallback<T>
public void close()
close
in interface AutoCloseable
Copyright © 2022. All rights reserved.