Initial framework migration to netty.
[bgpcep.git] / bgp / testtool / src / test / java / org / opendaylight / protocol / bgp / testtool / SpeakerSessionListener.java
index 391b299725e81e1bc86a3aeb565d68fefc472cc7..42048f173a9ea81040fbd55af374fb8a5c5658f4 100644 (file)
@@ -14,11 +14,10 @@ import org.opendaylight.protocol.bgp.parser.BGPError;
 import org.opendaylight.protocol.bgp.parser.BGPMessage;
 import org.opendaylight.protocol.bgp.parser.BGPSession;
 import org.opendaylight.protocol.bgp.parser.BGPSessionListener;
+import org.opendaylight.protocol.framework.DispatcherImpl;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import org.opendaylight.protocol.framework.DispatcherImpl;
-
 public class SpeakerSessionListener extends BGPSessionListener {
        private static final Logger logger = LoggerFactory.getLogger(SpeakerSessionListener.class);
 
@@ -42,12 +41,12 @@ public class SpeakerSessionListener extends BGPSessionListener {
        public void onSessionDown(final BGPSession session, final Exception e) {
                logger.info("Server: Session down.");
                session.close();
-               this.d.stop();
+               // this.d.stop();
        }
 
        @Override
        public void onMessage(final BGPMessage message) {
                logger.info("Server: Message received: {}", message);
-               this.d.stop();
+               // this.d.stop();
        }
 }