Merge "BUG-2794 : refactored code to use BitArray"
[bgpcep.git] / bgp / parser-spi / src / main / java / org / opendaylight / protocol / bgp / parser / spi / BGPExtensionConsumerContext.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.parser.spi;
9
10 /**
11  * A single instance of a collection of extensions for use by consumers. This provides access to the various BGP-related
12  * registries. The registries are read-only and are populated by extension producers.
13  */
14 public interface BGPExtensionConsumerContext {
15     AddressFamilyRegistry getAddressFamilyRegistry();
16
17     AttributeRegistry getAttributeRegistry();
18
19     CapabilityRegistry getCapabilityRegistry();
20
21     MessageRegistry getMessageRegistry();
22
23     NlriRegistry getNlriRegistry();
24
25     ParameterRegistry getParameterRegistry();
26
27     SubsequentAddressFamilyRegistry getSubsequentAddressFamilyRegistry();
28 }