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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic 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
ConstructorsConstructorDescriptionIpfixUdpTransport(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 handlersto the NettyChannelPipelineto support additional features.Methods inherited from class org.graylog2.inputs.transports.UdpTransport
getChildChannelHandlers, getLocalAddress, launch, stopMethods 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:NettyTransportSubclasses can override this to add additionalchannel handlersto the NettyChannelPipelineto support additional features. Some common use cases are to add connection counters or traffic shapers.- Overrides:
getChannelHandlersin classUdpTransport- Parameters:
input- TheMessageInputfor which these channel handlers are being added- Returns:
- list of initial
channel handlersto add to the Nettychannel pipeline
-