directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dave irving (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRMINA-116) Get the Service from which a connection is accepted
Date Mon, 14 Nov 2005 12:28:30 GMT
    [ 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


Mime
View raw message