< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] role of destructor ClientRegistration


You are not expected to subclass from ClientRegistration since the
application does not create the ClientRegistration - the library will
create it for you.

Have a look at resiprocate/dum/test/basicRegister.cxx for an example. 

Jason


On 4/13/05, julien thai <julienresiprocate@xxxxxxxxx> wrote:
> Dear Experts, 
>   
> I don't understand why you put destructor of ClientRegistration like
> protected: 
> (dans ClientRegistration.hxx ) 
> "" 
> 
> protected: 
> 
> virtual ~ClientRegistration(); 
> "" 
> it will make compile error: 
> 
> ""'resip::ClientRegistration::~ClientRegistration' : cannot
> access protected member declared in class 'resip::ClientRegistration'""
>  
> 
> can you tell me how i can declare a object of ClientRegistration??? 
> 
> Julien Thai 
> 
> Paris Telecom 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> 
>