IoSession.getServiceAddress()
-----------------------------

         Key: DIRMINA-172
         URL: http://issues.apache.org/jira/browse/DIRMINA-172
     Project: Directory MINA
        Type: New Feature
    Reporter: Trustin Lee
 Assigned to: 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

Reply via email to