/**
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 untilthe ListenerService instance shuts down, thus the return value doesnot reflect the outcome of the initialization, but that of the wholeservice run.
http://svn.middleware.georgetown.edu/view/cpp-sp?view=rev&revision=2991
/**
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.