[reSIProcate-commit] resiprocate 8754 sgodin: Added ability for repro to synchronize registrations with another instance
| Project | resiprocate |
| New Revision | 8754 |
| Committer | sgodin (Scott Godin) |
| Date | 2010-02-24 11:56:42 -0600 (Wed, 24 Feb 2010) |
Log
Added ability for repro to synchronize registrations with another instance
-uses two new repro command line options: xmlrpcport and regsyncpeer
-added a new version of InMemoryRegistrationDatabase called InMemorySyncRegDb.
This version has the following new capabilities
- callback handler so that a reg sync process can get notification of when records change
- ability to linger removed contacts in memory, so that sync process can accurately reflect
registration removals on peer system
- initial sync mechanism for registration sync process
-removed two inefficient (double copy) interfaces on RegistrationPersistanceManager and
adjusted InMemoryRegistrationDatabase as required
-fixed some registration storage locking bugs in repro
-added new RegSyncClient, RegSyncServer, RegSyncServerThread, XmlRpcConnection and
XmlRpcServerBase classes to facilitate transport of registration information in xml
format from one node to another
Added:
Modified: