Misleading comment in ListenerService.h

Description

/**

  • OutOfProcess servers can implement server-side transport handling by

  • calling the run method and supplying a flag to monitor for shutdown.

  • @param shutdown pointer to flag that caller will set when shutdown is required

  • @return true iff ListenerService initialization was successful
    */
    virtual bool run(bool* shutdown)=0;

I think the comment is misleading: this method does not return until
the ListenerService instance shuts down, thus the return value does
not reflect the outcome of the initialization, but that of the whole
service run.

Environment

None

Activity

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Created May 12, 2009 at 1:51 PM
Updated June 22, 2021 at 10:58 PM
Resolved May 20, 2009 at 12:54 PM