Interface PeerRPCs
- All Known Subinterfaces:
BGPSessionListener
- All Known Implementing Classes:
BGPPeer
public interface PeerRPCs
Contains all Peer RPC methods related.
-
Method Summary
Modifier and TypeMethodDescription@NonNull com.google.common.util.concurrent.ListenableFuture<?>
Release Peer session.@NonNull com.google.common.util.concurrent.ListenableFuture<?>
restartGracefully
(long selectionDeferralTimerSeconds) Perform graceful restart.
-
Method Details
-
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
-