You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2006/08/03 10:37:13 UTC

[jira] Created: (DIRMINA-239) Allow multiple Callbacks per IoFuture

Allow multiple Callbacks per IoFuture
-------------------------------------

                 Key: DIRMINA-239
                 URL: http://issues.apache.org/jira/browse/DIRMINA-239
             Project: Directory MINA
          Issue Type: Improvement
            Reporter: Trustin Lee
            Priority: Minor


Currently, IoFuture allows only one callback.  This can be a problem when a user wants to add another callback to the existing callback.  We can provide a utility class that creates a chain, but we could just use the existing JavaBeans event framework.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (DIRMINA-239) Allow multiple Callbacks per IoFuture

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-239?page=all ]

Trustin Lee closed DIRMINA-239.
-------------------------------

    Fix Version/s: 0.9.5
       Resolution: Fixed
         Assignee: Trustin Lee

I applied the following changes which will cause the compilation errors of existing applications:

* IoFuture.Callback is gone.  IoFutureListener replaces it.
* IoFuture.getCallback() and setCallback() are also gone.  Please use IoFuture.addListener() and removeListener() to register/deregister the listeners.

> Allow multiple Callbacks per IoFuture
> -------------------------------------
>
>                 Key: DIRMINA-239
>                 URL: http://issues.apache.org/jira/browse/DIRMINA-239
>             Project: Directory MINA
>          Issue Type: Improvement
>            Reporter: Trustin Lee
>         Assigned To: Trustin Lee
>            Priority: Minor
>             Fix For: 0.9.5
>
>
> Currently, IoFuture allows only one callback.  This can be a problem when a user wants to add another callback to the existing callback.  We can provide a utility class that creates a chain, but we could just use the existing JavaBeans event framework.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira