public class UdpSimpleClientInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.DatagramChannel>
| Constructor and Description |
|---|
UdpSimpleClientInitializer(com.google.common.util.concurrent.SettableFuture<Boolean> isOnlineFuture)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initChannel(io.netty.channel.socket.DatagramChannel ch) |
void |
setScenario(ScenarioHandler handler)
Sets the ScenarioHandler.
|
channelRegistered, exceptionCaught, handlerAddedchannelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerRemoved, isSharablepublic UdpSimpleClientInitializer(com.google.common.util.concurrent.SettableFuture<Boolean> isOnlineFuture)
isOnlineFuture - future notifier of connected channelpublic void initChannel(io.netty.channel.socket.DatagramChannel ch)
throws Exception
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.DatagramChannel>Exceptionpublic void setScenario(ScenarioHandler handler)
handler - handler of scenario eventsCopyright © 2019 OpenDaylight. All rights reserved.