BUG-6647 Increase code coverage and clean up I
[bgpcep.git] / bgp / parser-spi / src / main / java / org / opendaylight / protocol / bgp / parser / spi / AttributeSerializer.java
index 3241beb03747e9b96cd488a76ca1cd1e63a5d39f..e3f334687cf3be079e23ba8ee7422ebee85ff88a 100644 (file)
@@ -7,8 +7,12 @@
  */
 package org.opendaylight.protocol.bgp.parser.spi;
 
+import io.netty.buffer.ByteBuf;
+
 import org.opendaylight.yangtools.yang.binding.DataObject;
 
 public interface AttributeSerializer {
-       public byte[] serializeMessage(final DataObject message);
+
+    void serializeAttribute(final DataObject attribute,final ByteBuf byteAggregator);
+
 }