[
http://issues.apache.org/jira/browse/DIRMINA-116?page=comments#action_12357368
]
Trustin Lee commented on DIRMINA-116:
-------------------------------------
What about this way?
public void sessionOpened( IoSession session ) throws Exception {
Service service = ( Service ) session.getAttribute( ServiceRegistry.SERVICE
);
...
}
> 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