| Modifier and Type | Field and Description |
|---|---|
protected org.sakaiproject.event.api.EventTrackingService |
m_eventTrackingService
Constructor discovered injected EventTrackingService.
|
| Constructor and Description |
|---|
PresenceObserverHelper(org.sakaiproject.chat2.model.PresenceObserver presenceObserver,
String location)
This variant, watches presense changes at
the specified location, and sends the notifications to
that same location.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(Object arg)
Check to see if we want to process or ignore this update.
|
void |
endObservation() |
protected void |
finalize() |
String |
getLocation() |
List<org.sakaiproject.user.api.User> |
getPresentUsers() |
void |
removePresence() |
void |
update(Observable o,
Object arg)
This method is called whenever the observed object is changed.
|
void |
updatePresence() |
protected org.sakaiproject.event.api.EventTrackingService m_eventTrackingService
public PresenceObserverHelper(org.sakaiproject.chat2.model.PresenceObserver presenceObserver,
String location)
location - The location under observation *and* the location for the delivery of the events.public void endObservation()
public void updatePresence()
public void removePresence()
public List<org.sakaiproject.user.api.User> getPresentUsers()
public String getLocation()
public boolean check(Object arg)
arg - The arg from the update.public void update(Observable o, Object arg)
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.Copyright © 2003-2015 The Sakai Foundation. All Rights Reserved.