All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opendaylight.protocol.pcep.spi.PCEPExtensionProviderContext Maven / Gradle / Ivy

There is a newer version: 0.22.6
Show newest version
/*
 * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.protocol.pcep.spi;

import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.iana.rev130816.EnterpriseNumber;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Message;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Tlv;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.vendor.information.EnterpriseSpecificInformation;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.basic.explicit.route.subobjects.SubobjectType;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.label.subobject.LabelType;
import org.opendaylight.yangtools.concepts.Registration;

public interface PCEPExtensionProviderContext extends PCEPExtensionConsumerContext {
    Registration registerLabelSerializer(Class labelClass, LabelSerializer serializer);

    Registration registerLabelParser(int ctype, LabelParser parser);

    Registration registerEROSubobjectParser(int subobjectType, EROSubobjectParser parser);

    Registration registerEROSubobjectSerializer(Class subobjectClass,
            EROSubobjectSerializer serializer);

    Registration registerMessageParser(int messageType, MessageParser parser);

    Registration registerMessageSerializer(Class msgClass, MessageSerializer serializer);

    Registration registerObjectParser(ObjectParser parser);

    Registration registerObjectSerializer(Class objClass, ObjectSerializer serializer);

    Registration registerRROSubobjectParser(int subobjectType, RROSubobjectParser parser);

    Registration registerRROSubobjectSerializer(Class subobjectClass,
            RROSubobjectSerializer serializer);

    Registration registerTlvSerializer(Class tlvClass, TlvSerializer serializer);

    Registration registerTlvParser(int tlvType, TlvParser parser);

    Registration registerVendorInformationTlvSerializer(
            Class esInformationClass, TlvSerializer serializer);

    Registration registerVendorInformationTlvParser(EnterpriseNumber enterpriseNumber, TlvParser parser);

    Registration registerXROSubobjectSerializer(Class subobjectClass,
            XROSubobjectSerializer serializer);

    Registration registerXROSubobjectParser(int subobjectType, XROSubobjectParser parser);

    Registration registerVendorInformationObjectSerializer(
            Class esInformationClass, ObjectSerializer serializer);

    Registration registerVendorInformationObjectParser(EnterpriseNumber enterpriseNumber, ObjectParser parser);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy