*/
package org.opendaylight.protocol.bgp.parser.spi;
+import io.netty.buffer.ByteBuf;
import org.opendaylight.protocol.bgp.parser.BGPDocumentedException;
import org.opendaylight.protocol.bgp.parser.BGPParsingException;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130919.open.BgpParameters;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.open.message.BgpParameters;
public interface ParameterParser {
- public BgpParameters parseParameter(final byte[] bytes) throws BGPParsingException, BGPDocumentedException;
+ BgpParameters parseParameter(ByteBuf buffer) throws BGPParsingException, BGPDocumentedException;
}