You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2006/02/20 15:30:25 UTC

[jira] Closed: (DIRMINA-172) IoSession.getServiceAddress()

     [ http://issues.apache.org/jira/browse/DIRMINA-172?page=all ]
     
Trustin Lee closed DIRMINA-172:
-------------------------------

    Resolution: Fixed

> IoSession.getServiceAddress()
> -----------------------------
>
>          Key: DIRMINA-172
>          URL: http://issues.apache.org/jira/browse/DIRMINA-172
>      Project: Directory MINA
>         Type: New Feature
>     Reporter: Trustin Lee
>     Assignee: Trustin Lee
>     Priority: Minor
>      Fix For: 0.9.2

>
> A way to find out the bind address of the service instead of local address is required because the return value of IoSession.getLocalAddress() might be different from the actual bind address.  There has to be a method that returns the real bind address to interact with IoAcceptor.  For example:
> IoAcceptor acceptor = ( IoAcceptor ) session.getService();
> acceptor.getManagedSessions( session.getServiceAddress() );  // session.getLocalAddress() won't work here.

-- 
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