Re: [Opalvoip-user] Updating code from an older to a newer OPAL version
Brought to you by:
csoutheren,
rjongbloed
|
From: Robert J. <ro...@vo...> - 2014-04-08 22:50:11
|
Welcome to one of the down sides of Open Source! Unfortunately, there is simply not enough time to produce the sort of documentation you are after. There is the Milestones wiki page <http://wiki.opalvoip.org/index.php?n=Main.Milestones> which is fairly high level or the change logs <http://files.opalvoip.org/docs/ChangeLogs/> which are enormously detailed. If an API changes, or function is deprecated, look in the header (or HTML documentation) for something in the same area, that does what you want. In this case GetRemotePartyAddress() was ambiguous as to what it meant, was it the transport address? Or the URL address? And for some protocols it was one and for some it was the other! It was split into GetRemoteAddress() and GetRemotePartyURL() to be clearer. *Robert Jongbloed* /OPAL/OpenH323/PTLib Architect and Co-founder./ Commercial support at http://www.voxlucida.com.au On 9/04/2014 2:14 AM, Giovani Gracioli wrote: > Hello, > > I have a program originally written using OPAL 3.10. I am updating > OPAL for the newest stable version: 3.14.0. > > As expected, the API changed. For example, I am using OpalConnection > and got the following errors/warnings: > > mixer.cxx:60: warning: 'PString > OpalConnection::GetRemotePartyAddress() const' is deprecated (declared > at /usr/include/opal/connection.h:1713) > mixer.cxx:63: error: 'class OpalConnection' has no member named > 'SetRemotePartyAddress' > mixer.cxx: In member function 'virtual void > MixerEP::OnReleased(OpalConnection&)': > mixer.cxx:97: warning: 'PString > OpalConnection::GetRemotePartyAddress() const' is deprecated (declared > at /usr/include/opal/connection.h:1713) > > Is there a document describing the changes between the versions and > how to map an old method to a new method? > > For instance, what method should I use instead of > GetRemotePartyAddress and SetRemotePartyAddress? > > Best regards, > Giovani > > > ------------------------------------------------------------------------------ > Put Bad Developers to Shame > Dominate Development with Jenkins Continuous Integration > Continuously Automate Build, Test & Deployment > Start a new project now. Try Jenkins in the cloud. > http://p.sf.net/sfu/13600_Cloudbees > > > _______________________________________________ > Opalvoip-user mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opalvoip-user |