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;
13 * Marker interface identifying a BGP peer.
15 public interface Peer {
17 * Return peer's symbolic name.
19 * @return symbolic name.
24 * Return the peer's BGP identifier as raw bytearray
25 * @return byte[] raw identifier
27 byte[] getRawIdentifier();
30 * Close Peers and performs asynchronously DS clean up
34 ListenableFuture<?> close();