public class DatagramServerSpec<IN,OUT> extends NetServerSpec<IN,OUT,DatagramServerSpec<IN,OUT>,DatagramServer<IN,OUT>>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.reflect.Constructor<? extends DatagramServer> |
serverImplCtor |
channelConsumers, codec, listenAddress, options| Constructor and Description |
|---|
DatagramServerSpec(java.lang.Class<? extends DatagramServer> serverImpl) |
| Modifier and Type | Method and Description |
|---|---|
protected DatagramServer<IN,OUT> |
configure(reactor.core.Reactor reactor,
reactor.core.Environment environment) |
DatagramServerSpec<IN,OUT> |
multicastInterface(java.net.NetworkInterface iface)
Set the interface to use for multicast.
|
codec, consume, consume, consumeInput, listen, listen, listen, optionsbroadcastEventRouting, configure, consumerInvoker, consumerNotFoundHandler, consumerRegistry, converters, converters, dispatchErrorHandler, eventFilter, eventRouter, firstEventRouting, randomEventRouting, roundRobinEventRouting, traceEventPath, traceEventPath, uncaughtErrorHandlerprotected final java.lang.reflect.Constructor<? extends DatagramServer> serverImplCtor
public DatagramServerSpec(java.lang.Class<? extends DatagramServer> serverImpl)
public DatagramServerSpec<IN,OUT> multicastInterface(java.net.NetworkInterface iface)
iface - the NetworkInterface to use for multicast.protected DatagramServer<IN,OUT> configure(reactor.core.Reactor reactor, reactor.core.Environment environment)
configure in class reactor.core.spec.support.EventRoutingComponentSpec<DatagramServerSpec<IN,OUT>,DatagramServer<IN,OUT>>