Class BmpNettyGroups
java.lang.Object
org.opendaylight.protocol.bmp.impl.BmpNettyGroups
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
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) io.netty.bootstrap.Bootstrap
createClientBootstrap
(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpNettyGroups.CreateChannel createChannel, @NonNull BmpSessionListenerFactory slf, @NonNull InetSocketAddress remoteAddress, int connectTimeout, @NonNull KeyMapping keys) To be used by BMP Dispatcher mainly.io.netty.bootstrap.Bootstrap
createClientBootstrap
(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpNettyGroups.CreateChannel createChannel, @NonNull BmpSessionListenerFactory slf, @NonNull InetSocketAddress remoteAddress, @Nullable SocketAddress localAddress, int connectTimeout, @NonNull KeyMapping keys, boolean reuseAddress) io.netty.bootstrap.ServerBootstrap
createServerBootstrap
(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpSessionListenerFactory slf, @NonNull BmpNettyGroups.CreateChannel createChannel, @NonNull KeyMapping keys) To be used by BMP Dispatcher mainly.
-
Constructor Details
-
BmpNettyGroups
@Inject public BmpNettyGroups()
-
-
Method Details
-
close
@PreDestroy public void close()- Specified by:
close
in interfaceAutoCloseable
-
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 io.netty.bootstrap.ServerBootstrap createServerBootstrap(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpSessionListenerFactory slf, @NonNull BmpNettyGroups.CreateChannel createChannel, @NonNull KeyMapping keys) To be used by BMP Dispatcher mainly. -
createClientBootstrap
public io.netty.bootstrap.Bootstrap createClientBootstrap(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpNettyGroups.CreateChannel createChannel, @NonNull BmpSessionListenerFactory slf, @NonNull InetSocketAddress remoteAddress, int connectTimeout, @NonNull KeyMapping keys) To be used by BMP Dispatcher mainly. -
createClientBootstrap
public io.netty.bootstrap.Bootstrap createClientBootstrap(@NonNull BmpSessionFactory sessionFactory, @NonNull BmpHandlerFactory hf, @NonNull BmpNettyGroups.CreateChannel createChannel, @NonNull BmpSessionListenerFactory slf, @NonNull InetSocketAddress remoteAddress, @Nullable SocketAddress localAddress, int connectTimeout, @NonNull KeyMapping keys, boolean reuseAddress)
-