Get rid of JSR305 annotations
[bgpcep.git] / pcep / api / src / main / java / org / opendaylight / protocol / pcep / PCEPSessionState.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 org.eclipse.jdt.annotation.NonNullByDefault;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.LocalPref;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.Messages;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.PeerPref;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.open.object.Open;
15
16 /**
17  * Exposes Session state.
18  */
19 @NonNullByDefault
20 public interface PCEPSessionState {
21     /**
22      * The statistics of PCEP received/sent messages from the PCE point of view.
23      *
24      * @return messages
25      */
26     Messages getMessages();
27
28     /**
29      * The local (PCE) preferences.
30      *
31      * @return local preferences
32      */
33     LocalPref getLocalPref();
34
35     /**
36      * The remote peer (PCC) preferences.
37      *
38      * @return peer preferences
39      */
40     PeerPref getPeerPref();
41
42     /**
43      * The local (PCE) Open Message.
44      *
45      * @return Open
46      */
47     Open getLocalOpen();
48 }