2 * Copyright (c) 2017 Pantheon Technologies s.r.o. and others. All rights reserved.
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
9 package org.opendaylight.openflowplugin.impl.protocol.serialization.multipart.tablefeatures;
11 import io.netty.buffer.ByteBuf;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.TableFeaturesPropType;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.table.types.rev131026.table.feature.prop.type.table.feature.prop.type.NextTableMiss;
15 public class NextTableMissTablePropertySerializer extends AbstractTablePropertySerializer<NextTableMiss> {
18 protected void serializeProperty(final NextTableMiss property, final ByteBuf byteBuf) {
22 .forEach(id -> byteBuf.writeByte(id.toJava()));
26 protected TableFeaturesPropType getType() {
27 return TableFeaturesPropType.OFPTFPTNEXTTABLESMISS;
31 protected Class<NextTableMiss> getClazz() {
32 return NextTableMiss.class;