Community
Participate
Working Groups
The stuff in org.eclipse.net4j.internal.tcp doesn't lend itself to reuse through inheritance, because too many fields are private, and essential instantiation code is not factored into overrideable 'createXxx' methods.
Created attachment 188883 [details] Patch v1
I'm generally like the idea to increase the reuse potential. I'm not sure if I like the protected fields in Buffer and TCPConnector. Can you add protected getters and setters instead?
Created attachment 189571 [details] Patch v2
Created attachment 189574 [details] Patch v3 - ready to be committed I hope that it's okay that I increased the visibility of the getters and setters to public. And I decreased it to provate again for the context tracer. A derived class is a different context and must declare its own context tracer.
Committed to trunk, rev. 7181
Available in R20110608-1407