You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by ji...@apache.org on 2004/02/20 09:29:52 UTC

[jira] Created: (DIR-19) Does ListenerManager need to sub for DisconnectEvents?

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://nagoya.apache.org/jira/secure/ViewIssue.jspa?key=DIR-19

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIR-19
    Summary: Does ListenerManager need to sub for DisconnectEvents?
       Type: Task

     Status: Open
   Priority: Minor

    Project: Directory
 Components: 
             Eve

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Fri, 20 Feb 2004 12:28 AM
    Updated: Fri, 20 Feb 2004 12:28 AM
    Due:     Fri, 20 Feb 2004 12:00 AM

Description:
Looks like the ListenerManager is stuck with the odd job of 
handing disconnects:


    public void inform( DisconnectEvent an_event )
    {
        m_clients.remove( an_event.getClientKey() ) ;
        
        try
        {
            an_event.getClientKey().expire() ;
        }
        catch ( IOException e ) 
        {
            m_monitor.failedToExpire( an_event.getClientKey(), e ) ;
        }
    }

Do we need this here? The clients are kept here in the DefaultListenerManager but is that the right place for them?  This should be checked out.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira