BUG-58: refactor to take advantage of netty
[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
11 /**
12  * Interface that provides the initial acceptable session characteristics with which the session should be started.
13  */
14 public interface BGPSessionProposal {
15         /**
16          * Returns BGPSessionPreferences for this IP address.
17          * 
18          * @param address serves as constraint, the implementation can also take time into consideration
19          * @return BGPSessionPreferences with acceptable session characteristics
20          */
21         public BGPSessionPreferences getProposal();
22 }