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
Assigned to: Trustin Lee
Priority: Minor
Fix For: 0.8
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