BUG-2873 : Remove dependency protocol-framework on BGP
[bgpcep.git] / bgp / rib-mock / src / main / java / org / opendaylight / protocol / bgp / rib / mock / EventBusRegistration.java
index ec676c2ee1f95ea53798f7cf51af366983134914..c5e1aff7124da3e9f292528bace4a97512a87ee3 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.protocol.bgp.rib.mock;
 import com.google.common.collect.Sets;
 import com.google.common.eventbus.EventBus;
 import com.google.common.eventbus.Subscribe;
+import io.netty.channel.ChannelHandlerContext;
 import java.util.List;
 import java.util.Set;
 import org.opendaylight.protocol.bgp.parser.BgpTableTypeImpl;
@@ -87,6 +88,61 @@ final class EventBusRegistration extends AbstractListenerRegistration<BGPSession
 
                 private static final long AS = 30L;
 
+                @Override
+                public void channelRegistered(final ChannelHandlerContext channelHandlerContext) throws Exception {
+
+                }
+
+                @Override
+                public void channelUnregistered(final ChannelHandlerContext channelHandlerContext) throws Exception {
+
+                }
+
+                @Override
+                public void channelActive(final ChannelHandlerContext channelHandlerContext) throws Exception {
+
+                }
+
+                @Override
+                public void channelInactive(final ChannelHandlerContext channelHandlerContext) throws Exception {
+
+                }
+
+                @Override
+                public void channelRead(final ChannelHandlerContext channelHandlerContext, final Object o) throws Exception {
+
+                }
+
+                @Override
+                public void channelReadComplete(final ChannelHandlerContext channelHandlerContext) throws Exception {
+
+                }
+
+                @Override
+                public void userEventTriggered(final ChannelHandlerContext channelHandlerContext, final Object o) throws Exception {
+
+                }
+
+                @Override
+                public void channelWritabilityChanged(final ChannelHandlerContext channelHandlerContext) throws Exception {
+
+                }
+
+                @Override
+                public void handlerAdded(final ChannelHandlerContext channelHandlerContext) throws Exception {
+
+                }
+
+                @Override
+                public void handlerRemoved(final ChannelHandlerContext channelHandlerContext) throws Exception {
+
+                }
+
+                @Override
+                public void exceptionCaught(final ChannelHandlerContext channelHandlerContext, final Throwable throwable) throws Exception {
+
+                }
+
                 @Override
                 public void close() {
                     LOG.debug("Session {} closed", this);