Github user taylorp36 commented on the issue:

    https://github.com/apache/logging-log4j2/pull/108
  
    Yeap, the trouble I had extending TcpSocketManager was that Reconnector and 
Socket were both being mutated in the write() and reconnect(). Without having 
setters on those fields in TcpSocketManager, duplicating those 2 methods seemed 
necessary. I could have still extended TcpSocketManger, but it added 
unnecessary complexity just to re-use a few other small methods. The complexity 
being that I would have been passing arguments to the TcpSocketManger 
constructor that would never be used. Open to any suggestions, maybe there is a 
solution here I'm not seeing.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to