/* * Copyright (c) 2017 Pantheon Technologies, s.r.o. 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.mdsal.binding.dom.codec.impl; import org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeCodec; import org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer; import org.opendaylight.yangtools.yang.binding.DataObject; /** * Marker interface for codecs dealing with RPC input being potentially unmapped. We use this interface to mark both * {@link UnmappedRpcInputCodec} and {@link ContainerLikeCodecContext}, which results in bimorphic invocation in * {@link BindingNormalizedNodeSerializer#fromNormalizedNodeRpcData()}. * *

* Without this interface we could end up with megamorphic invocation, as the two implementations cannot share class * hierarchy. * * @author Robert Varga * * @param Binding representation of data */ interface RpcInputCodec extends BindingNormalizedNodeCodec { }