Add new revision for pcep types model
[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
9 package org.opendaylight.protocol.pcep;
10
11 import java.net.InetSocketAddress;
12 import javax.annotation.Nonnull;
13 import org.opendaylight.protocol.concepts.KeyMapping;
14
15 /**
16  * Contains all required dependencies for instantiate a PCEPDispatcher.
17  */
18 public interface PCEPDispatcherDependencies extends PCEPSessionNegotiatorFactoryDependencies {
19     /**
20      * Return the address to be bound with the server.
21      *
22      * @return ip address
23      */
24     @Nonnull
25     InetSocketAddress getAddress();
26
27     /**
28      * RFC2385 key mapping.
29      *
30      * @return map containing Keys
31      */
32     @Nonnull
33     KeyMapping getKeys();
34
35     /**
36      * PCEP Speaker Id mapping.
37      *
38      * @return map containing Keys
39      */
40     @Nonnull
41     SpeakerIdMapping getSpeakerIdMapping();
42 }