Class IpfixUdpTransport
java.lang.Object
org.graylog2.plugin.inputs.transports.NettyTransport
org.graylog2.inputs.transports.UdpTransport
org.graylog.integrations.ipfix.transports.IpfixUdpTransport
- All Implemented Interfaces:
Transport
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
-
Field Summary
Fields inherited from class org.graylog2.plugin.inputs.transports.NettyTransport
CK_BIND_ADDRESS, CK_NUMBER_WORKER_THREADS, CK_PORT, CK_RECV_BUFFER_SIZE, eventLoopGroupFactory, localRegistry, socketAddress, throughputCounter, workerThreads
-
Constructor Summary
ConstructorDescriptionIpfixUdpTransport
(Configuration configuration, EventLoopGroupFactory eventLoopGroupFactory, NettyTransportConfiguration nettyTransportConfiguration, ThroughputCounter throughputCounter, LocalMetricRegistry localRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected LinkedHashMap<String,
Callable<? extends io.netty.channel.ChannelHandler>> getChannelHandlers
(MessageInput input) Subclasses can override this to add additionalchannel handlers
to the NettyChannelPipeline
to support additional features.Methods inherited from class org.graylog2.inputs.transports.UdpTransport
getChildChannelHandlers, getLocalAddress, launch, stop
Methods inherited from class org.graylog2.plugin.inputs.transports.NettyTransport
getAggregator, getChannelInitializer, getCustomChildChannelHandlers, getMetricSet, getRecvBufferSize, setMessageAggregator
-
Constructor Details
-
IpfixUdpTransport
@Inject public IpfixUdpTransport(Configuration configuration, EventLoopGroupFactory eventLoopGroupFactory, NettyTransportConfiguration nettyTransportConfiguration, ThroughputCounter throughputCounter, LocalMetricRegistry localRegistry)
-
-
Method Details
-
getChannelHandlers
protected LinkedHashMap<String,Callable<? extends io.netty.channel.ChannelHandler>> getChannelHandlers(MessageInput input) Description copied from class:NettyTransport
Subclasses can override this to add additionalchannel handlers
to the NettyChannelPipeline
to support additional features. Some common use cases are to add connection counters or traffic shapers.- Overrides:
getChannelHandlers
in classUdpTransport
- Parameters:
input
- TheMessageInput
for which these channel handlers are being added- Returns:
- list of initial
channel handlers
to add to the Nettychannel pipeline
-