public class BmpDispatcherImpl extends Object implements BmpDispatcher
Constructor and Description |
---|
BmpDispatcherImpl(io.netty.channel.EventLoopGroup bossGroup,
io.netty.channel.EventLoopGroup workerGroup,
BmpMessageRegistry registry,
BmpSessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
io.netty.channel.ChannelFuture |
createClient(InetSocketAddress remoteAddress,
BmpSessionListenerFactory slf,
KeyMapping keys)
Creates reconnect clients.
|
io.netty.channel.ChannelFuture |
createServer(InetSocketAddress address,
BmpSessionListenerFactory slf,
KeyMapping keys)
Creates server.
|
public BmpDispatcherImpl(io.netty.channel.EventLoopGroup bossGroup, io.netty.channel.EventLoopGroup workerGroup, BmpMessageRegistry registry, BmpSessionFactory sessionFactory)
public io.netty.channel.ChannelFuture createClient(InetSocketAddress remoteAddress, BmpSessionListenerFactory slf, KeyMapping keys)
BmpDispatcher
createClient
in interface BmpDispatcher
remoteAddress
- bmp client to connect toslf
- bmp session listener factorykeys
- RFC2385 key mappingpublic io.netty.channel.ChannelFuture createServer(InetSocketAddress address, BmpSessionListenerFactory slf, KeyMapping keys)
BmpDispatcher
createServer
in interface BmpDispatcher
address
- to be bound with the serverslf
- bmp session listener factorykeys
- RFC2385 key mappingpublic void close()
close
in interface AutoCloseable
Copyright © 2019 OpenDaylight. All rights reserved.