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

DemuxingIoHandler should look up super classes, too, and cache the lookup results.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 0.9.0
    • None
    • None

    Description

      Jose Alberto Fernandez wrote:

      Another matter around Demux, is that currently it only looks at super-interfaces if a direct match is not found,

      But it does not look at super-classes. This is annoying when you have protocols that extend all messages from some particular superclass and you want to be able to treat groups of messages the same way (like ignoring them).

      Also, it may be interesting to see if there is a good way to cache the resolution of super-interfaces and super-classes in order to make such code more efficient. You will just need to make sure that the cache is flushed when MessageHandlers are added or removed.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: