/[resiprocate]/branches/b-identity-0505/dum/InMemoryRegistrationDatabase.cxx
ViewVC logotype

Log of /branches/b-identity-0505/dum/InMemoryRegistrationDatabase.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 4712)

Revision 4598 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 11 22:53:07 2005 UTC (14 years, 7 months ago) by derek
File length: 6360 byte(s)
Diff to previous 4521
set svn:eol-style to LF

Revision 4521 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 5 22:20:57 2005 UTC (14 years, 7 months ago) by derek
File length: 6360 byte(s)
Diff to previous 4391
branch for identity hacking

Revision 4391 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 18 20:11:50 2005 UTC (14 years, 7 months ago) by sgodin
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 6360 byte(s)
Diff to previous 4335
added WinLeakCheck to some files

Revision 4335 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 12 21:40:15 2005 UTC (14 years, 8 months ago) by jason
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 6317 byte(s)
Diff to previous 4114
merged changes from b-dev-repro from rev 4155:4334
used cmd: svn merge -r 4155:4334 https://scm.sipfoundry.org/rep/ resiprocate/branches/b-dev-repro-20050401


Revision 4114 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 1 18:42:43 2005 UTC (14 years, 8 months ago) by adam
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 6034 byte(s)
Diff to previous 4010
Added thread locking stuff.


Revision 4010 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 19 03:54:17 2005 UTC (14 years, 8 months ago) by jason
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 4820 byte(s)
Diff to previous 3926
merged changes from b-teltel-20041118-invitesession 3484:HEAD into the trunk



Revision 3926 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 28 21:57:28 2005 UTC (14 years, 9 months ago) by adam
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 2447 byte(s)
Diff to previous 3923
Added locking so that the PersistenceManager objects can be accessed
from other threads.


Revision 3923 - (view) (download) (annotate) - [select for diffs]
Added Mon Feb 28 06:43:42 2005 UTC (14 years, 9 months ago) by adam
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 2245 byte(s)
Code complete for very simple server-side handling of
REGISTER requests. This code has not yet been tested
in any way except to verify that it compiles, so
caveat implementor.

I think I got all this largely correct and consistent
with the rest of the DUM (although it's a bit unclear
what was intended with the registration persistence
class, so I had to kind of make up an API there; I think
it should be very easy to derive an object from what
I currently have for storage to disk, storage to
a relational database, and/or sharing with a mated
pair over a message bus). For testing purposes, I added
a rudimentary persistence class (InMemoryRegistrationDatabase)
that doesn't actually persist data anywhere but the heap.

Also, it's really unclear to me who is responsible
for cleaning up the BaseUsage/NonDialogUsage objects
in general (and the ServerRegistration objects in
particular), so there may be a memory leak in this
at the moment. Once I figure out how these objects
are managed, I'll verify that the ServerRegistration
objects get cleaned up properly, and fix it if
they dont.

Finally, the current interface to the Persistence
manager is a bit rudimentary: it only handles the
URI and expires values. Discarding the display name
portion of contact headers is hardly a problem,
and not keeping around unknown parameters is unlikely
to ever cause issues; however, this code really should
remember q= values. This oversight should be relatively
easy to fix if it becomes important to anyone. In
fact, I'll probably address it myself at some point
in the near future, but my goal for this weekend is
to get something that works, not something that is
100% perfect.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27