DJabberd Status: Rosters |
[Mar. 19th, 2006|12:23 am]
Brad Fitzpatrick
|
Artur and I worked on rosters tonight. Nice, clean hooks and abstractions now....
Data structures:
DJabberd::Roster DJabberd::RosterItem
Plugins:
DJabberd::RosterStorage -- abstract base class DJabberd::RosterStorage::SQLite -- functional DJabberd::RosterStorage::Dummy -- example DJabberd::RosterStorage::LiveJournal -- LJ integration
All in cvs. Check it out.
Lot more to do yet: -- finish Roster API (adding/removing items) -- do roster pushes to all connected clients (easily locally, more fun with a cluster) -- presence (big one, but roster pushes will get it a lot of the way there) -- easy way for plugin authors to note certain functions as blocking and run them in child thread that won't stall the event loop (Jonathan Steinert's working on some Gearman modifications to make this transparent and easy, whether it's in a local process or anywhere else on the network...) -- finish LJ integration |
|