rero.client.notify
Class NotifyData
java.lang.Object
rero.client.Feature
rero.client.notify.NotifyData
- All Implemented Interfaces:
- ClientStateListener, ChatListener, TimerListener
public class NotifyData
- extends Feature
- implements ChatListener, TimerListener, ClientStateListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
users
protected HashMap users
signedon
protected Set signedon
lag
protected Lag lag
isChecking
protected int isChecking
NotifyData
public NotifyData()
reset
public void reset()
propertyChanged
public void propertyChanged(String value,
String parameter)
- Description copied from interface:
ClientStateListener
- when the property gets changed you will be notified!
- Specified by:
propertyChanged in interface ClientStateListener
hashUsers
public void hashUsers()
addUser
public void addUser(String nickname)
removeUser
public void removeUser(String nickname)
getSignedOnUsers
public Set getSignedOnUsers()
getNotifyUsers
public Set getNotifyUsers()
getSignedOffUsers
public Set getSignedOffUsers()
init
public void init()
- Specified by:
init in class Feature
cleanup
public void cleanup()
- Description copied from class:
Feature
- execute any cleanup that needs to be done so we don't have memory leaks
- Overrides:
cleanup in class Feature
storeDataStructures
public void storeDataStructures(WeakHashMap data)
- Overrides:
storeDataStructures in class Feature
createNotifyUser
public NotifyUser createNotifyUser(String nickname)
getUserInfo
public NotifyUser getUserInfo(String nickname)
checkNotify
public void checkNotify()
timerExecute
public void timerExecute()
- Specified by:
timerExecute in interface TimerListener
fireChatEvent
public int fireChatEvent(HashMap eventDescription)
- Specified by:
fireChatEvent in interface ChatListener
isChatEvent
public boolean isChatEvent(String eventId,
HashMap eventDescription)
- Specified by:
isChatEvent in interface ChatListener