Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 59090 invoked from network); 19 Sep 2005 22:58:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Sep 2005 22:58:50 -0000 Received: (qmail 76288 invoked by uid 500); 19 Sep 2005 22:58:50 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 76233 invoked by uid 500); 19 Sep 2005 22:58:49 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 76220 invoked by uid 99); 19 Sep 2005 22:58:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 15:58:49 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 1CE55124 for ; Tue, 20 Sep 2005 00:58:28 +0200 (CEST) Message-ID: <370632582.1127170708104.JavaMail.jira@ajax.apache.org> Date: Tue, 20 Sep 2005 00:58:28 +0200 (CEST) From: "Trustin Lee (JIRA)" To: dev@directory.apache.org Subject: [jira] Created: (DIRMINA-90) Provide a way to release resources for ProtocolEncoder and ProtocolDecoder Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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