-/*\r
- * Copyright (c) 2014 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
-\r
-package org.opendaylight.openflowjava.util;\r
-\r
-import org.opendaylight.openflowjava.protocol.api.keys.experimenter.ExperimenterIdSerializerKey;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.ExperimenterInput;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.meter.band.header.meter.band.MeterBandExperimenterCase;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.multipart.request.multipart.request.body.MultipartRequestExperimenterCase;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.table.features.properties.grouping.TableFeatureProperties;\r
-\r
-/**\r
- * @author michal.polkorab\r
- *\r
- */\r
-public abstract class ExperimenterSerializerKeyFactory {\r
-\r
- /**\r
- * @param msgVersion openflow wire version\r
- * @param experimenterId experimenter / vendor ID\r
- * @return key instance\r
- */\r
- public static ExperimenterIdSerializerKey<ExperimenterInput> createExperimenterMessageSerializerKey(\r
- short msgVersion, Long experimenterId) {\r
- return new ExperimenterIdSerializerKey<>(msgVersion, experimenterId, ExperimenterInput.class);\r
- }\r
-\r
- /**\r
- * @param msgVersion openflow wire version\r
- * @param experimenterId experimenter / vendor ID\r
- * @return key instance\r
- */\r
- public static ExperimenterIdSerializerKey<MultipartRequestExperimenterCase> createMultipartRequestSerializerKey(\r
- short msgVersion, Long experimenterId) {\r
- return new ExperimenterIdSerializerKey<>(msgVersion, experimenterId, MultipartRequestExperimenterCase.class);\r
- }\r
-\r
- /**\r
- * @param msgVersion openflow wire version\r
- * @param experimenterId experimenter / vendor ID\r
- * @return key instance\r
- */\r
- public static ExperimenterIdSerializerKey<TableFeatureProperties> createMultipartRequestTFSerializerKey(\r
- short msgVersion, Long experimenterId) {\r
- return new ExperimenterIdSerializerKey<>(msgVersion, experimenterId, TableFeatureProperties.class);\r
- }\r
-\r
- /**\r
- * @param msgVersion openflow wire version\r
- * @param experimenterId experimenter / vendor ID\r
- * @return key instance\r
- */\r
- public static ExperimenterIdSerializerKey<MeterBandExperimenterCase> createMeterBandSerializerKey(\r
- short msgVersion, Long experimenterId) {\r
- return new ExperimenterIdSerializerKey<>(msgVersion, experimenterId, MeterBandExperimenterCase.class);\r
- }\r
+/*
+ * Copyright (c) 2014 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.util;
+
+import org.opendaylight.openflowjava.protocol.api.keys.experimenter.ExperimenterIdSerializerKey;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.ExperimenterInput;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.meter.band.header.meter.band.MeterBandExperimenterCase;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.multipart.request.multipart.request.body.MultipartRequestExperimenterCase;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.table.features.properties.grouping.TableFeatureProperties;
+
+/**
+ * @author michal.polkorab
+ *
+ */
+public abstract class ExperimenterSerializerKeyFactory {
+
+ /**
+ * @param msgVersion openflow wire version
+ * @param experimenterId experimenter / vendor ID
+ * @return key instance
+ */
+ public static ExperimenterIdSerializerKey<ExperimenterInput> createExperimenterMessageSerializerKey(
+ short msgVersion, Long experimenterId) {
+ return new ExperimenterIdSerializerKey<>(msgVersion, experimenterId, ExperimenterInput.class);
+ }
+
+ /**
+ * @param msgVersion openflow wire version
+ * @param experimenterId experimenter / vendor ID
+ * @return key instance
+ */
+ public static ExperimenterIdSerializerKey<MultipartRequestExperimenterCase> createMultipartRequestSerializerKey(
+ short msgVersion, Long experimenterId) {
+ return new ExperimenterIdSerializerKey<>(msgVersion, experimenterId, MultipartRequestExperimenterCase.class);
+ }
+
+ /**
+ * @param msgVersion openflow wire version
+ * @param experimenterId experimenter / vendor ID
+ * @return key instance
+ */
+ public static ExperimenterIdSerializerKey<TableFeatureProperties> createMultipartRequestTFSerializerKey(
+ short msgVersion, Long experimenterId) {
+ return new ExperimenterIdSerializerKey<>(msgVersion, experimenterId, TableFeatureProperties.class);
+ }
+
+ /**
+ * @param msgVersion openflow wire version
+ * @param experimenterId experimenter / vendor ID
+ * @return key instance
+ */
+ public static ExperimenterIdSerializerKey<MeterBandExperimenterCase> createMeterBandSerializerKey(
+ short msgVersion, Long experimenterId) {
+ return new ExperimenterIdSerializerKey<>(msgVersion, experimenterId, MeterBandExperimenterCase.class);
+ }
}
\ No newline at end of file