2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.protocol.bgp.rib.spi;
10 import com.google.common.util.concurrent.ListenableFuture;
11 import javax.annotation.Nonnull;
14 * Marker interface identifying a BGP peer.
16 public interface Peer extends PeerTrackerInformation {
18 * Return peer's symbolic name.
20 * @return symbolic name.
26 * Return the peer's BGP identifier as raw byte array.
28 * @return byte[] raw identifier
30 byte[] getRawIdentifier();
33 * Close Peers and performs asynchronously DS clean up.
38 ListenableFuture<?> close();