*/
package org.opendaylight.protocol.pcep.spi;
-import io.netty.buffer.ByteBuf;
-
+import org.opendaylight.protocol.pcep.PCEPDeserializerException;
+import org.opendaylight.protocol.pcep.PCEPDocumentedException;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.Message;
public interface MessageParser {
- public Message parseMessage(ByteBuf buffer);
+ public Message parseMessage(byte[] buffer) throws PCEPDeserializerException, PCEPDocumentedException;
}