Interface PeerRPCs

  • All Known Subinterfaces:
    BGPSessionListener
    All Known Implementing Classes:
    BGPPeer

    public interface PeerRPCs
    Contains all Peer RPC methods related.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      @NonNull com.google.common.util.concurrent.ListenableFuture<?> releaseConnection()
      Release Peer session.
      @NonNull com.google.common.util.concurrent.ListenableFuture<?> restartGracefully​(long selectionDeferralTimerSeconds)
      Perform graceful restart.
    • Method Detail

      • releaseConnection

        @NonNull com.google.common.util.concurrent.ListenableFuture<?> releaseConnection()
        Release Peer session.
      • restartGracefully

        @NonNull com.google.common.util.concurrent.ListenableFuture<?> restartGracefully​(long selectionDeferralTimerSeconds)
        Perform graceful restart. Wait with route selection until EOR is received or selection-deferral-timer expires.
        Parameters:
        selectionDeferralTimerSeconds - time to wait in seconds