Class BmpDispatcherUtil
- java.lang.Object
-
- org.opendaylight.protocol.bmp.impl.BmpDispatcherUtil
-
public final class BmpDispatcherUtil extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
BmpDispatcherUtil.CreateChannel
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.netty.channel.ChannelInitializer<io.netty.channel.AbstractChannel>
createChannelWithDecoder(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpSessionListenerFactory slf)
static io.netty.channel.ChannelInitializer<io.netty.channel.AbstractChannel>
createChannelWithEncoder(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpSessionListenerFactory slf)
static io.netty.bootstrap.Bootstrap
createClientBootstrap(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpDispatcherUtil.CreateChannel createChannel, @NonNull BmpSessionListenerFactory slf, @NonNull InetSocketAddress remoteAddress, @NonNull io.netty.channel.EventLoopGroup workerGroup, int connectTimeout, @NonNull KeyMapping keys)
To be used by BMP Dispatcher mainly.static io.netty.bootstrap.Bootstrap
createClientBootstrap(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpDispatcherUtil.CreateChannel createChannel, @NonNull BmpSessionListenerFactory slf, @NonNull InetSocketAddress remoteAddress, @Nullable SocketAddress localAddress, @NonNull io.netty.channel.EventLoopGroup workerGroup, int connectTimeout, @NonNull KeyMapping keys, boolean reuseAddress, boolean tryEpollSocket)
static io.netty.bootstrap.ServerBootstrap
createServerBootstrap(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpSessionListenerFactory slf, @NonNull BmpDispatcherUtil.CreateChannel createChannel, @NonNull io.netty.channel.EventLoopGroup bossGroup, @NonNull io.netty.channel.EventLoopGroup workerGroup, @NonNull KeyMapping keys)
To be used by BMP Dispatcher mainly.static io.netty.bootstrap.ServerBootstrap
createServerBootstrap(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpSessionListenerFactory slf, @NonNull BmpDispatcherUtil.CreateChannel createChannel, @NonNull io.netty.channel.EventLoopGroup bossGroup, @NonNull io.netty.channel.EventLoopGroup workerGroup, @NonNull KeyMapping keys, boolean tryEpollSocket)
-
-
-
Method Detail
-
createChannelWithDecoder
public static io.netty.channel.ChannelInitializer<io.netty.channel.AbstractChannel> createChannelWithDecoder(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpSessionListenerFactory slf)
-
createChannelWithEncoder
public static io.netty.channel.ChannelInitializer<io.netty.channel.AbstractChannel> createChannelWithEncoder(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpSessionListenerFactory slf)
-
createServerBootstrap
public static io.netty.bootstrap.ServerBootstrap createServerBootstrap(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpSessionListenerFactory slf, @NonNull BmpDispatcherUtil.CreateChannel createChannel, @NonNull io.netty.channel.EventLoopGroup bossGroup, @NonNull io.netty.channel.EventLoopGroup workerGroup, @NonNull KeyMapping keys)
To be used by BMP Dispatcher mainly.
-
createServerBootstrap
public static io.netty.bootstrap.ServerBootstrap createServerBootstrap(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpSessionListenerFactory slf, @NonNull BmpDispatcherUtil.CreateChannel createChannel, @NonNull io.netty.channel.EventLoopGroup bossGroup, @NonNull io.netty.channel.EventLoopGroup workerGroup, @NonNull KeyMapping keys, boolean tryEpollSocket)
-
createClientBootstrap
public static io.netty.bootstrap.Bootstrap createClientBootstrap(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpDispatcherUtil.CreateChannel createChannel, @NonNull BmpSessionListenerFactory slf, @NonNull InetSocketAddress remoteAddress, @NonNull io.netty.channel.EventLoopGroup workerGroup, int connectTimeout, @NonNull KeyMapping keys)
To be used by BMP Dispatcher mainly.
-
createClientBootstrap
public static io.netty.bootstrap.Bootstrap createClientBootstrap(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpDispatcherUtil.CreateChannel createChannel, @NonNull BmpSessionListenerFactory slf, @NonNull InetSocketAddress remoteAddress, @Nullable SocketAddress localAddress, @NonNull io.netty.channel.EventLoopGroup workerGroup, int connectTimeout, @NonNull KeyMapping keys, boolean reuseAddress, boolean tryEpollSocket)
-
-