Bump mdsal to 5.0.2
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / MessageTranslator.java
index 4738218827153ce24a9390523a25dc4cee0a0d1d..2cbb3a45c5bd86d38d387a1a1c297f1d63b70f36 100644 (file)
@@ -1,4 +1,4 @@
-/**
+/*
  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
@@ -8,20 +8,19 @@
 package org.opendaylight.openflowplugin.api.openflow.device;
 
 /**
- * @author tkubas
+ * Message translator.
+ *
  * @param <I> input message
  * @param <O> output message
- *
  */
 public interface MessageTranslator<I, O> {
 
     /**
-     * Translates from input to output
-     * @param input
-     * @param deviceState
-     * @param connectionDistinguisher
+     * Translates from input to output.
+     * @param input input
+     * @param deviceInfo node information
+     * @param connectionDistinguisher connection distinguisher
      * @return message of output type
      */
-    O translate(I input, DeviceState deviceState, Object connectionDistinguisher);
-
+    O translate(I input, DeviceInfo deviceInfo, Object connectionDistinguisher);
 }