de.kosi.model
Interface UserListener

All Known Implementing Classes:
ChatChannelImpl, TableImpl, ListenerList

public interface UserListener

This listener can be registered at a User instance. It then will be notified if a user's online state changes or the User instance is about to be destroyed.

ChangeLog:

 $Log: UserListener.java,v $
 Revision 1.1.1.1  2001/04/29 18:05:18  jiriki
 Imported sources from zola.

 Revision 1.5  2001/03/15 22:41:28  wombat
 - Worked on server admin client mockup
 - fixed smaller bugs
 - removed User.getPassword() method (use checkPassword instead)

 Revision 1.4  2001/02/11 17:55:50  login
 updated documentation


 

Version:
$Revision: 1.1.1.1 $ ($Date: 2001/04/29 18:05:18 $)
Author:
Timo, Niklas, Ole

Method Summary
 void destroyed(UserImpl user)
          Called when a UserImpl Object is about to be destroyed.
 void onlineChange(UserImpl user, boolean isOnline)
          This method is called when the online status of the user changes.
 

Method Detail

onlineChange

public void onlineChange(UserImpl user,
                         boolean isOnline)
This method is called when the online status of the user changes.
Parameters:
user - user whose state changed.
isOnline - wether the user is online.

destroyed

public void destroyed(UserImpl user)
Called when a UserImpl Object is about to be destroyed. The UserListener has to remove itself from the user in this method.
Parameters:
user - UserImpl object to be destroyed.