org.elkoserver.server.context
Interface PresenceWatcher


public interface PresenceWatcher

Interface implemented by mods that wish to be notified when the presence of other users in a user's social graph changes.

To enable this notification, mods may implement this interface, though only one mod per user and one mod per context may implement it.


Method Summary
 void notePresenceChange(String observerRef, String domain, String whoRef, String whereRef, boolean on)
          Take notice that a user elsewhere has come or gone.
 

Method Detail

notePresenceChange

void notePresenceChange(String observerRef,
                        String domain,
                        String whoRef,
                        String whereRef,
                        boolean on)
Take notice that a user elsewhere has come or gone.

Parameters:
observerRef - Ref of user who cares about this
domain - Presence domain of relationship between users
whoRef - Ref of user who came or went
whereRef - Ref of context the entered or exited
on - True if they came, false if they left