On Mon, 2008-07-28 at 16:23 +0100, Scott Lawrence wrote: > On Mon, 2008-07-28 at 11:03 -0400, Paul Mossman wrote: > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of keccles > > > Sent: July 27, 2008 11:45 AM > > > To: devlist > > > Subject: [sipX-dev] Does anyone use ProcMgmtRpc GetAliasByPID? > > > > > > Is anyone using an xml-rpc call to get the name of a service? > > > > Hi Kathy, > > > > ACDServer.cpp uses it to invoke a restart of itself. (Lookup its alias > > by PID, then requests a restart of that alias.) > > There is no longer any reason to do that lookup. The "alias" is the > contents of the <name> element in the process definition (which is > fixed). > Right, but I don't plan on changing ACDServer right now, so I'll leave the function name and return value. I hadn't found anything that needed it, so I was thinking to remove the whole thing.
> > It's also in OsProcessMgr.cpp of sipXportLib. When I worked on this is > > was used by watchdog, which has now been replaced by sipXsupervisor. I > > haven't worked on sipXsupervisor, but I think the process management > > content is taken largely un-modified from watchdog. > > But is being replaced there.... it's there now as a transitional measure > only. > -Kathy _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
