[Lift] User Presence Heartbeat

2010-01-12 Thread Daniel Spiewak
I'm looking to implement a user presence feature (think: Facebook or Gmail chat) in a Lift 1.0 application. Ideally, I would like to avoid adding extraneous connections. Is it possible to hook into the Lift Comet heartbeat which is already in use across our system? I've looked at the source for

Re: [Lift] User Presence Heartbeat

2010-01-12 Thread Naftoli Gugenheim
You are already using Comet, or just Lift? - Daniel Spiewakdjspie...@gmail.com wrote: I'm looking to implement a user presence feature (think: Facebook or Gmail chat) in a Lift 1.0 application. Ideally, I would like to avoid adding extraneous connections. Is

Re: [Lift] User Presence Heartbeat

2010-01-12 Thread Alex Boisvert
The current GC liveliness entrypoint is in LiftServlet.handleAjax() which calls liftSession.updateFuncByOwner(). There's no extension point for what you want at the moment although it would be fairly easy to add something to LiftSession. The closest thing right now is