java.lang.Object
org.opendaylight.protocol.bgp.rib.mock.BGPMock
All Implemented Interfaces:
Closeable, AutoCloseable

public final class BGPMock extends Object implements Closeable
Mock BGP session. It provides a way how to route a set of messages to BGPSessionListener. This class is thread-safe.
  • Constructor Details

    • BGPMock

      public BGPMock(com.google.common.eventbus.EventBus eventBus, MessageRegistry registry, List<byte[]> bgpMessages)
  • Method Details