Class BmpDispatcherImpl

java.lang.Object
org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl
All Implemented Interfaces:
AutoCloseable, BmpDispatcher

public class BmpDispatcherImpl extends Object implements BmpDispatcher, AutoCloseable
  • Constructor Details

  • Method Details

    • createClient

      public io.netty.channel.ChannelFuture createClient(InetSocketAddress remoteAddress, BmpSessionListenerFactory slf, KeyMapping keys)
      Description copied from interface: BmpDispatcher
      Creates reconnect clients. Make connection to all active monitored-routers.
      Specified by:
      createClient in interface BmpDispatcher
      Parameters:
      remoteAddress - bmp client to connect to
      slf - bmp session listener factory
      keys - RFC2385 key mapping
      Returns:
      void
    • createServer

      public io.netty.channel.ChannelFuture createServer(InetSocketAddress address, BmpSessionListenerFactory slf, KeyMapping keys)
      Description copied from interface: BmpDispatcher
      Creates server. Each server needs three factories to pass their instances to client sessions.
      Specified by:
      createServer in interface BmpDispatcher
      Parameters:
      address - to be bound with the server
      slf - bmp session listener factory
      keys - RFC2385 key mapping
      Returns:
      instance of BmpServer
    • close

      @PreDestroy public void close()
      Specified by:
      close in interface AutoCloseable