directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRMINA-90) Provide a way to release resources for ProtocolEncoder and ProtocolDecoder
Date Mon, 17 Oct 2005 09:17:44 GMT
     [ http://issues.apache.org/jira/browse/DIRMINA-90?page=all ]

Trustin Lee updated DIRMINA-90:
-------------------------------

    Fix Version: 0.9
                     (was: 0.8)

Decided to fix this in 0.9

> Provide a way to release resources for ProtocolEncoder and ProtocolDecoder
> --------------------------------------------------------------------------
>
>          Key: DIRMINA-90
>          URL: http://issues.apache.org/jira/browse/DIRMINA-90
>      Project: Directory MINA
>         Type: Improvement
>     Versions: 0.7
>     Reporter: Trustin Lee
>     Assignee: Trustin Lee
>     Priority: Minor
>      Fix For: 0.9

>
> There's no way to release resources allocated in the constructor for ProtocolEncoder
and ProtocolDecoder.  It becomes a problem when user implements them to acquire resources
that must be released explicitly such as file descriptors.
> We could simply add dispose() or release() method to give a change for user to release
them when the connection is closed, but it becomes a big problem when user shares an encoder
or decoder instance for multiple sessions.  And we also have to consider stateless transport
types such as datagram carefully.

-- 
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


Mime
View raw message