-/*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-package org.opendaylight.openflowjava.protocol.api.extensibility;\r
-\r
-import org.opendaylight.yangtools.yang.binding.DataObject;\r
-\r
-import io.netty.buffer.ByteBuf;\r
-\r
-/**\r
- * Does only-header serialization (such as oxm_ids, action_ids, instruction_ids)\r
- * @author michal.polkorab\r
- * @param <SERIALIZER_TYPE>\r
- */\r
-public interface HeaderSerializer<SERIALIZER_TYPE extends DataObject> extends OFGeneralSerializer {\r
-\r
- /**\r
- * Serializes object headers (e.g. for Multipart message - Table Features)\r
- * @param input object whose headers should be serialized\r
- * @param outBuffer output buffer\r
- */\r
- void serializeHeader(SERIALIZER_TYPE input, ByteBuf outBuffer);\r
-}\r
+/*
+ * Copyright (c) 2013 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.openflowjava.protocol.api.extensibility;
+
+import io.netty.buffer.ByteBuf;
+import org.opendaylight.yangtools.yang.binding.DataObject;
+
+/**
+ * Does only-header serialization (such as oxm_ids, action_ids, instruction_ids)
+ * @author michal.polkorab
+ * @param <T> input message type
+ */
+public interface HeaderSerializer<T extends DataObject> extends OFGeneralSerializer {
+
+ /**
+ * Serializes object headers (e.g. for Multipart message - Table Features)
+ * @param input object whose headers should be serialized
+ * @param outBuffer output buffer
+ */
+ void serializeHeader(T input, ByteBuf outBuffer);
+}