EnhancedMessageTypeKey add hash(), ChannelOutboundQueue change address to final and...
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / connection / ConnectionAdapterImpl.java
index 19baa930432b29f80ccf510394165ccd5092e612..33b600f9c386acf2eabbc3ce945102f8d09c4767 100644 (file)
@@ -130,8 +130,7 @@ public class ConnectionAdapterImpl implements ConnectionFacade {
                 .expireAfterWrite(RPC_RESPONSE_EXPIRATION, TimeUnit.MINUTES)
                 .removalListener(REMOVAL_LISTENER).build();
         this.channel = Preconditions.checkNotNull(channel);
-        this.output = new ChannelOutboundQueue(channel, DEFAULT_QUEUE_DEPTH);
-        output.setAddress(address);
+        this.output = new ChannelOutboundQueue(channel, DEFAULT_QUEUE_DEPTH, address);
         channel.pipeline().addLast(output);
         LOG.debug("ConnectionAdapter created");
     }