On Wed, May 13, 2015 at 12:58 PM, Rajith Muditha Attapattu < [email protected]> wrote:
> If you look at the engine impl, you would see TransportLink and a LinkImpl > (ditto for Session, Delivery etc..) > > 1. Is this separation necessary? Could we not collapse the two into one? > > 2. The extra copying of data btw the two layers could possibly be a > performance issue. > Logically it is good to keep them distinct since the TransportLink state is only valid when the Link is bound to a connection and needs to be cleared/reinitialized on unbind/rebind. I doubt there is much overhead to it so I'd leave it be for now. --Rafael
