Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 32581 invoked from network); 14 Nov 2005 12:28:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Nov 2005 12:28:57 -0000 Received: (qmail 51062 invoked by uid 500); 14 Nov 2005 12:28:54 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 51013 invoked by uid 500); 14 Nov 2005 12:28:53 -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 51002 invoked by uid 99); 14 Nov 2005 12:28:53 -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, 14 Nov 2005 04:28:51 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 4A04BDF for ; Mon, 14 Nov 2005 13:28:30 +0100 (CET) Message-ID: <1033032378.1131971310301.JavaMail.jira@ajax.apache.org> Date: Mon, 14 Nov 2005 13:28:30 +0100 (CET) From: "dave irving (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRMINA-116) Get the Service from which a connection is accepted In-Reply-To: <1748648238.1131098720337.JavaMail.jira@ajax.apache.org> 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 [ http://issues.apache.org/jira/browse/DIRMINA-116?page=comments#action_12357584 ] dave irving commented on DIRMINA-116: ------------------------------------- If we do this as an IoFilter private to SimpleServiceRegistry, then the only way I can see to tie the created session back to its Service is the local socket address. However, I dont think this is all that easy: The sessions local socket address is given by the socket itself, but it's most likely that the acceptor bind address is just a wildcard address on some port. These wont be concidered equal - so a simple map approach wont work. We'd have to do some custom processing - which could lead to a performance hit on connection churn. Have I missed something maybe? > Get the Service from which a connection is accepted > --------------------------------------------------- > > Key: DIRMINA-116 > URL: http://issues.apache.org/jira/browse/DIRMINA-116 > Project: Directory MINA > Type: Improvement > Versions: 0.8 > Reporter: Paolo Perrucci > Assignee: Trustin Lee > Priority: Minor > Fix For: 0.9 > > When a new connection is accepted may be usefull to know the related Service. -- 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