BUG-5032: BGP Operational State
[bgpcep.git] / bgp / rib-spi / src / main / java / org / opendaylight / protocol / bgp / rib / spi / state / BGPPeerMessagesState.java
1 /*
2  * Copyright (c) 2016 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
9 package org.opendaylight.protocol.bgp.rib.spi.state;
10
11 /**
12  * BGP Peer Messages Operational State
13  */
14 public interface BGPPeerMessagesState {
15     /**
16      * Update Messages Sent count
17      *
18      * @return count
19      */
20     long getUpdateMessagesSentCount();
21
22     /**
23      * Notification Messages Sent count
24      *
25      * @return count
26      */
27     long getNotificationMessagesSentCount();
28
29     /**
30      * Update Messages Received count
31      *
32      * @return count
33      */
34     long getUpdateMessagesReceivedCount();
35
36     /**
37      * Notification Update Messages Received count
38      *
39      * @return count
40      */
41     long getNotificationMessagesReceivedCount();
42 }