Upgrade ietf-{inet,yang}-types to 2013-07-15
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / spi / CodecsRegistry.java
1 /*
2  * Copyright (c) 2015 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.rib.impl.spi;
9
10 import org.opendaylight.protocol.bgp.rib.spi.RIBSupport;
11
12 /**
13  * Registry for Codec classes
14  *
15  */
16 public interface CodecsRegistry {
17
18     /**
19      * Return the Codecs class registered for given RIBSupport.
20      *
21      * @param ribSupport associated with Codecs class
22      * @return Codecs
23      */
24     Codecs getCodecs(final RIBSupport ribSupport);
25 }