Use ByteBuf.readRetainedSlice()
[openflowplugin.git] / openflowjava / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / core / connection / MessageConsumer.java
index 84c45cee91647f9c80fd28575932dc72c8ef1c9e..298b25ced26f89b54be903908160e7c8aff32a42 100644 (file)
@@ -12,11 +12,15 @@ package org.opendaylight.openflowjava.protocol.impl.core.connection;
 import org.opendaylight.yangtools.yang.binding.DataObject;
 
 /**
+ * Interface for a message consumer.
+ *
  * @author mirehak
  */
 public interface MessageConsumer {
 
     /**
+     * Invoked to consume a message.
+     *
      * @param message to process
      */
     void consume(DataObject message);