Revert "BUG-47 : unfinished PCEP migration to generated DTOs."
[bgpcep.git] / pcep / spi / src / main / java / org / opendaylight / protocol / pcep / spi / MessageParser.java
index e5db62769c23ee959c313a70284288721fd49cf5..8e28bf7c7556f911e4bb387758249c8a649fbeba 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.protocol.pcep.spi;
 
-import org.opendaylight.protocol.pcep.PCEPDeserializerException;
-import org.opendaylight.protocol.pcep.PCEPDocumentedException;
+import io.netty.buffer.ByteBuf;
+
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.Message;
 
 public interface MessageParser {
-       public Message parseMessage(byte[] buffer) throws PCEPDeserializerException, PCEPDocumentedException;
+       public Message parseMessage(ByteBuf buffer);
 }