Uploaded image for project: 'James Imap'
  1. James Imap
  2. IMAP-71

Design: Consolidate Sessions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.1
    • 0.2
    • Mailbox, Protocol
    • None

    Description

      ATM two sessions are used - an ImapSession for the IMAP protocol layers, and a MailboxSession for the mailbox layers. This is probably a mistake. The API would be easier to extend if protocol and mailbox used the same session.

      Unfortunately, ImapSession is coupled to a number of quite IMAP specific classes. Improvements to the design in this area (eg. simplification of the inefficient notification system) would probably allows this to be refactored but for the moment, seems better to push methods up into MailboxSession, and MailboxSession up into the API. ImapSession could then extend MailboxSession.

      Attachments

        Issue Links

          Activity

            People

              norman Norman Maurer
              robertburrelldonkin Robert Burrell Donkin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: