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, rawData
defaultDispatcher, dispatcher, dispatcher, env, get, synchronousDispatcher
protected 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 © 2017. All rights reserved.