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] Created: (DIRMINA-172) IoSession.getServiceAddress()
Date Mon, 20 Feb 2006 14:30:24 GMT
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


Mime
View raw message