public static class Spec.DatagramServerSpec<IN,OUT> extends Spec.PeerSpec<IN,OUT,ChannelStream<IN,OUT>,Spec.DatagramServerSpec<IN,OUT>,DatagramServer<IN,OUT>>
| Modifier and Type | Field and Description |
|---|---|
protected Constructor<? extends DatagramServer> |
serverImplCtor |
codec, listenAddress, options| Modifier and Type | Method and Description |
|---|---|
protected DatagramServer<IN,OUT> |
configure(Dispatcher dispatcher,
Environment environment) |
Spec.DatagramServerSpec<IN,OUT> |
multicastInterface(NetworkInterface iface)
Set the interface to use for multicast.
|
codec, listen, listen, listen, options, rawDatadefaultDispatcher, dispatcher, dispatcher, env, get, synchronousDispatcherprotected final Constructor<? extends DatagramServer> serverImplCtor
public Spec.DatagramServerSpec<IN,OUT> multicastInterface(NetworkInterface iface)
iface - the NetworkInterface to use for multicast.protected DatagramServer<IN,OUT> configure(Dispatcher dispatcher, Environment environment)
configure in class DispatcherComponentSpec<Spec.DatagramServerSpec<IN,OUT>,DatagramServer<IN,OUT>>Copyright © 2016. All rights reserved.