Converge on a single way for obtaining the current client

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Looking at the code, there are 4 different ways one can obtain the client associated with the current thread:

      This looks a bit excessive and confusing and we should probably have one unified way for obtaining the client of the current thread. I have slight preference that we converge on Client::currentClient() as the only way to access the current client.

              Assignee:
              Unassigned
              Reporter:
              Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: