public class UdpTransport extends NettyTransport
Modifier and Type | Class and Description |
---|---|
static class |
UdpTransport.Config |
static interface |
UdpTransport.Factory |
CK_BIND_ADDRESS, CK_PORT, CK_RECV_BUFFER_SIZE, localRegistry, throughputCounter
Constructor and Description |
---|
UdpTransport(Configuration configuration,
ThroughputCounter throughputCounter,
LocalMetricRegistry localRegistry) |
Modifier and Type | Method and Description |
---|---|
org.jboss.netty.bootstrap.Bootstrap |
getBootstrap()
Construct a
ServerBootstrap to use with this transport. |
getBaseChannelHandlers, getFinalChannelHandlers, getLocalAddress, getMetricSet, getRecvBufferSize, launch, setMessageAggregator, stop
public UdpTransport(Configuration configuration, ThroughputCounter throughputCounter, LocalMetricRegistry localRegistry)
public org.jboss.netty.bootstrap.Bootstrap getBootstrap()
NettyTransport
ServerBootstrap
to use with this transport.
Set all the options on it you need to have, but do not set a ChannelPipelineFactory
, it will be replaced with the
augmented list of handlers returned by NettyTransport.getBaseChannelHandlers(org.graylog2.plugin.inputs.MessageInput)
getBootstrap
in class NettyTransport
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.