Change the definition of MessageHandler::connected()

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Fully Compatible
    • Platforms 13 (04/22/16), Platforms 14 (05/13/16), Platforms 15 (06/03/16)
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The current definition of MessageHandler::connected() is as follows:

      /**
       * Called once when a socket is connected.
       */
      virtual void connected(AbstractMessagingPort* p) = 0;
      

      We would like to change this so that it does not take an AbstractMessagingPort. A new possible implementation is:

      /**
       * Called when a new session begins.
       */
      virtual void connected(Session session) = 0;
      

      Some questions:

      • What information from AbstractMessagingPort needs to go into Session to make this work?

            Assignee:
            Samantha Ritter (Inactive)
            Reporter:
            Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: