Class ConnectionAdapterImpl

    • Field Detail

      • REMOVAL_LISTENER

        protected static final com.google.common.cache.RemovalListener<RpcResponseKey,​org.opendaylight.openflowjava.protocol.impl.core.connection.ResponseExpectedRpcListener<?>> REMOVAL_LISTENER
      • channel

        protected final io.netty.channel.Channel channel
      • disconnectOccured

        protected boolean disconnectOccured
      • output

        protected final org.opendaylight.openflowjava.protocol.impl.core.connection.ChannelOutboundQueue output
      • responseCache

        protected com.google.common.cache.Cache<RpcResponseKey,​org.opendaylight.openflowjava.protocol.impl.core.connection.ResponseExpectedRpcListener<?>> responseCache
        expiring cache for future rpcResponses.
    • Constructor Detail

      • ConnectionAdapterImpl

        public ConnectionAdapterImpl​(io.netty.channel.Channel channel,
                                     InetSocketAddress address,
                                     boolean useBarrier,
                                     int channelOutboundQueueSize)
        Default constructor.
        Parameters:
        channel - the channel to be set - used for communication
        address - client address (used only in case of UDP communication, as there is no need to store address over tcp (stable channel))
        useBarrier - value is configurable by configSubsytem