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

Diff of /main/sip/resiprocate/dum/test/basicRegister.cxx

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

revision 4780 by daniel, Tue May 24 21:30:57 2005 UTC revision 4781 by sgodin, Mon May 30 16:35:33 2005 UTC
# Line 86  Line 86 
86  #endif  #endif
87    
88     DialogUsageManager clientDum(stack);     DialogUsageManager clientDum(stack);
89     MasterProfile profile;       SharedPtr<MasterProfile> profile(new MasterProfile);
90     auto_ptr<ClientAuthManager> clientAuth(new ClientAuthManager);       auto_ptr<ClientAuthManager> clientAuth(new ClientAuthManager);  
91     ClientHandler clientHandler;     ClientHandler clientHandler;
92    
# Line 96  Line 96 
96     // clientDum.addTransport(TCP, 10000 + rand()&0x7fff, V6);     // clientDum.addTransport(TCP, 10000 + rand()&0x7fff, V6);
97     clientDum.addTransport(TLS, 10000 + rand()&0x7fff, V4);     clientDum.addTransport(TLS, 10000 + rand()&0x7fff, V4);
98     // clientDum.addTransport(TLS, 10000 + rand()&0x7fff, V6);     // clientDum.addTransport(TLS, 10000 + rand()&0x7fff, V6);
99     clientDum.setMasterProfile(&profile);     clientDum.setMasterProfile(profile);
100     clientDum.setClientRegistrationHandler(&clientHandler);     clientDum.setClientRegistrationHandler(&clientHandler);
101     clientDum.setClientAuthManager(clientAuth);     clientDum.setClientAuthManager(clientAuth);
102     clientDum.getMasterProfile()->setDefaultRegistrationTime(70);     clientDum.getMasterProfile()->setDefaultRegistrationTime(70);
# Line 106  Line 106 
106     clientDum.setKeepAliveManager(keepAlive);     clientDum.setKeepAliveManager(keepAlive);
107    
108     clientDum.getMasterProfile()->setDefaultFrom(userAor);     clientDum.getMasterProfile()->setDefaultFrom(userAor);
109     profile.setDigestCredential(userAor.uri().host(),     profile->setDigestCredential(userAor.uri().host(),
110                                       userAor.uri().user(),                                       userAor.uri().user(),
111                                       passwd);                                       passwd);
112    

Legend:
Removed from v.4780  
changed lines
  Added in v.4781

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27