Use String(byte[], Charset)
[openflowplugin.git] / openflowjava / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / core / DelegatingInboundHandler.java
index b0fee5c3bbe81a467855f4e38a088ca1d57381ac..0278bfe48f6e99b9ed7e0226888e40f8889245e8 100644 (file)
@@ -40,12 +40,13 @@ public class DelegatingInboundHandler extends ChannelInboundHandlerAdapter {
 
     @Override
     public void channelRead(final ChannelHandlerContext ctx, final Object msg) {
+        LOG.trace("ChannelRead Message : {}", msg);
         consumer.consume((DataObject) msg);
     }
 
     @Override
     public void channelInactive(final ChannelHandlerContext ctx) {
-        LOG.debug("Channel inactive");
+        LOG.debug("Channel inactive {}", ctx.channel());
         if (!inactiveMessageSent) {
             DisconnectEventBuilder builder = new DisconnectEventBuilder();
             builder.setInfo("Channel inactive");
@@ -56,7 +57,7 @@ public class DelegatingInboundHandler extends ChannelInboundHandlerAdapter {
 
     @Override
     public void channelUnregistered(final ChannelHandlerContext ctx) {
-        LOG.debug("Channel unregistered");
+        LOG.debug("Channel unregistered {}", ctx.channel());
         if (!inactiveMessageSent) {
             DisconnectEventBuilder builder = new DisconnectEventBuilder();
             builder.setInfo("Channel unregistered");