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] Resolved: (DIRMINA-116) Get the Service from which a connection is accepted
Date Thu, 01 Dec 2005 06:01:30 GMT
     [ http://issues.apache.org/jira/browse/DIRMINA-116?page=all ]
     
Trustin Lee resolved DIRMINA-116:
---------------------------------

    Resolution: Fixed

>From MINA 0.9, you can get the Service instance associated with the session like this:

public void messageReceived(IoSession session, Object message) throws Exception
{
  ...
  Service service = (Service) session.getAttribute( ServiceRegistry.SERVICE );
  ...
}

This feature will not be included in 0.8 stream.  Please review the fix and close this issue.

> 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