0e33a9c536c623467fb921cb335968ea7a15575d
[bgpcep.git] / pcep / api / src / main / java / org / opendaylight / protocol / pcep / PCEPDispatcherDependencies.java
1 /*
2  * Copyright (c) 2017 AT&T Intellectual Property. 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.pcep;
9
10 import java.net.InetSocketAddress;
11 import org.eclipse.jdt.annotation.NonNullByDefault;
12 import org.opendaylight.protocol.concepts.KeyMapping;
13
14 /**
15  * Contains all required dependencies for instantiate a PCEPDispatcher.
16  */
17 @NonNullByDefault
18 public interface PCEPDispatcherDependencies extends PCEPSessionNegotiatorFactoryDependencies {
19     /**
20      * Return the address to be bound with the server.
21      *
22      * @return ip address
23      */
24     InetSocketAddress getAddress();
25
26     /**
27      * RFC2385 key mapping.
28      *
29      * @return map containing Keys
30      */
31     KeyMapping getKeys();
32 }