Interface BmpDispatcher
- All Known Implementing Classes:
BmpDispatcherImpl
@NonNullByDefault
public interface BmpDispatcher
Dispatcher class for creating servers and clients.
-
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.ChannelFuturecreateClient(InetSocketAddress address, BmpSessionListenerFactory slf, KeyMapping keys) Creates reconnect clients.io.netty.channel.ChannelFuturecreateServer(InetSocketAddress address, BmpSessionListenerFactory slf, KeyMapping keys) Creates server.
-
Method Details
-
createServer
io.netty.channel.ChannelFuture createServer(InetSocketAddress address, BmpSessionListenerFactory slf, KeyMapping keys) Creates server. Each server needs three factories to pass their instances to client sessions.- Parameters:
address- to be bound with the serverslf- bmp session listener factorykeys- RFC2385 key mapping- Returns:
- instance of BmpServer
-
createClient
io.netty.channel.ChannelFuture createClient(InetSocketAddress address, BmpSessionListenerFactory slf, KeyMapping keys) Creates reconnect clients. Make connection to all active monitored-routers.- Parameters:
address- bmp client to connect toslf- bmp session listener factorykeys- RFC2385 key mapping- Returns:
- void
-