Interface BmpDispatcher

All Known Implementing Classes:
BmpDispatcherImpl

@NonNullByDefault public interface BmpDispatcher
Dispatcher class for creating servers and clients.
  • 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 server
      slf - bmp session listener factory
      keys - 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 to
      slf - bmp session listener factory
      keys - RFC2385 key mapping
      Returns:
      void