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)
BmpDispatchercreateClient in interface BmpDispatcherremoteAddress - bmp client to connect toslf - bmp session listener factorykeys - RFC2385 key mappingpublic io.netty.channel.ChannelFuture createServer(InetSocketAddress address, BmpSessionListenerFactory slf, KeyMapping keys)
BmpDispatchercreateServer in interface BmpDispatcheraddress - to be bound with the serverslf - bmp session listener factorykeys - RFC2385 key mappingpublic void close()
close in interface AutoCloseableCopyright © 2019 OpenDaylight. All rights reserved.