Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5616

CreateRequestContext seems never called in the generated TProcessorImpl class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Bug
    • 0.16.0
    • 0.16.0
    • Delphi - Compiler
    • None

    Description

      Under the generated TProcessorImpl class Process method the events received as parameters (const events : IProcessorEvents) never called.

       

      I suggest a solution, (before the TProcessFunction call):

      if Assigned(events) then events.CreateRequestContext(msg.name);

      fn(msg.SeqID, iprot, oprot);

      Attachments

        Activity

          People

            jensg Jens Geyer
            Symr Robert Simon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: