mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuure Laurinolli (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRMINA-620) IoSession ha superfluous close() methods
Date Fri, 05 Sep 2008 14:01:44 GMT
IoSession ha superfluous close() methods

                 Key: DIRMINA-620
                 URL: https://issues.apache.org/jira/browse/DIRMINA-620
             Project: MINA
          Issue Type: Improvement
          Components: Core
    Affects Versions: 2.0.0-M3, 2.0.0-M2, 2.0.0-M1
            Reporter: Tuure Laurinolli
            Priority: Minor
             Fix For: 2.0.0-M4

IoSession has three methods for closing the session: close() which closes immediately, closeOnFlush(),
which closes after last queued write is complete and close(boolean) which can be set to do

The two first variants should be removed and close(boolean) retained to make the API cleaner.
Also, having a single close(boolean) method forces the user to think about the issue of closing
immediately versus closing after last queued write.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message