*/
package org.opendaylight.protocol.bgp.parser.spi;
+import io.netty.buffer.ByteBuf;
+
import org.opendaylight.protocol.bgp.parser.BGPDocumentedException;
import org.opendaylight.yangtools.yang.binding.Notification;
public interface MessageParser {
- public Notification parseMessage(final byte[] bytes) throws BGPDocumentedException;
+ Notification parseMessageBody(ByteBuf body, int messageLength) throws BGPDocumentedException;
}