| java.lang.Object org.sakaiproject.chat2.tool.PresenceObserverHelper
PresenceObserverHelper | public class PresenceObserverHelper implements Observer(Code) | |
PresenceObservingCourier is an EventObservingCourier which watches for only presence service events at a particular location, and delivers a direct refresh delivery.
|
m_eventTrackingService | protected EventTrackingService m_eventTrackingService(Code) | | Constructor discovered injected EventTrackingService.
|
PresenceObserverHelper | public PresenceObserverHelper(PresenceObserver presenceObserver, String location)(Code) | | This variant, watches presense changes at
the specified location, and sends the notifications to
that same location. The elementID is null so the main window is refreshed when the notification
is received.
Parameters: location - The location under observation *and* the location for the delivery of the events. |
check | public boolean check(Object arg)(Code) | | Check to see if we want to process or ignore this update.
Parameters: arg - The arg from the update. true to continue, false to quit. |
endObservation | public void endObservation()(Code) | | |
finalize | protected void finalize()(Code) | | |
getPresentUsers | public List getPresentUsers()(Code) | | |
removePresence | public void removePresence()(Code) | | |
update | public void update(Observable o, Object arg)(Code) | | This method is called whenever the observed object is changed. An application calls an Observable object's notifyObservers method to have all the object's observers notified of the change. default implementation is to
cause the courier service to deliver to the interface controlled by my controller. Extensions can override.
Parameters: o - the observable object. Parameters: arg - an argument passed to the notifyObservers method. |
updatePresence | public void updatePresence()(Code) | | |
|
|