/[resiprocate]/main/resip/dum/test/basicRegister.cxx
ViewVC logotype

Diff of /main/resip/dum/test/basicRegister.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4010 by jason, Sat Mar 19 03:54:17 2005 UTC revision 4335 by jason, Tue Apr 12 21:40:15 2005 UTC
# Line 42  Line 42 
42  #else  #else
43           sleep(5);           sleep(5);
44  #endif  #endif
45           ClientRegistration* foo = h.get();                        //ClientRegistration* foo = h.get();          
46            h->removeAll();            h->removeAll();
47            }            }
48            else            else
# Line 62  Line 62 
62            done = true;            done = true;
63        }        }
64    
65          virtual int onRequestRetry(ClientRegistrationHandle, int retrySeconds, const SipMessage& response)
66          {
67             return 0;
68          }
69          
70    
71        bool done;        bool done;
72        bool removing;              bool removing;      
73  };  };
# Line 85  Line 91 
91    
92        /// Called when an registration expires        /// Called when an registration expires
93        virtual void onExpired(ServerRegistrationHandle, const NameAddr& contact)=0;        virtual void onExpired(ServerRegistrationHandle, const NameAddr& contact)=0;
94          
95     private:     private:
96        bool done;        bool done;
97  };  };
# Line 102  Line 109 
109     MasterProfile profile;       MasterProfile profile;  
110     auto_ptr<ClientAuthManager> clientAuth(new ClientAuthManager);       auto_ptr<ClientAuthManager> clientAuth(new ClientAuthManager);  
111    
112     DialogUsageManager clientDum;     SipStack stack;
113       DialogUsageManager clientDum(stack);
114     clientDum.addTransport(UDP, 15060);     clientDum.addTransport(UDP, 15060);
115     clientDum.setMasterProfile(&profile);     clientDum.setMasterProfile(&profile);
116    

Legend:
Removed from v.4010  
changed lines
  Added in v.4335

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27