Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-463

Find the best way to specify both MINA and non-MINA events.

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M1
    • Component/s: Statemachine
    • Labels:
      None

      Description

      As discussed here: http://tinyurl.com/2omrl9

      For now, we use String to identify event types, which is somewhat unsafe. Using an enum might be useful, but there are a few disadvantages:

      • Wildcard event type cannot be used, which could be extended further (e.g. "message*" or "session(Opened|Closed)")

      Probably sticking to String might be the best solution?

        Attachments

          Activity

            People

            • Assignee:
              niklas@trillian.se Niklas Therning
              Reporter:
              trustin Trustin Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: