fa07dceabbc89ff497e77243591c2d761387ff59
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / spi / BGPSessionProposal.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.protocol.bgp.rib.impl.spi;
9
10 import org.opendaylight.protocol.framework.SessionProposal;
11
12 /**
13  * Interface that provides the initial acceptable session characteristics with which the session should be started.
14  */
15 public abstract class BGPSessionProposal implements SessionProposal {
16         /**
17          * Returns BGPSessionPreferences for this IP address.
18          * 
19          * @param address serves as constraint, the implementation can also take time into consideration
20          * @return BGPSessionPreferences with acceptable session characteristics
21          */
22         @Override
23         public abstract BGPSessionPreferences getProposal();
24 }