1 /*** 2 * 3 */ 4 package hu.elte.tribus.interfaces; 5 6 import java.util.List; 7 8 /*** 9 * @author kocka 10 * 11 */ 12 public interface UserTracker { 13 /*** 14 * Should be called if the user signs in or returns to the site. 15 * @param username 16 */ 17 public void userLoggedIn(String username); 18 /*** 19 * Should be called if the user signs out or its session expires. 20 * @param username 21 */ 22 public void userLoggedOut(String username); 23 /*** 24 * List the users using the site atm. 25 * @return list of OnlineUserBeans 26 */ 27 public List listOfOnlineUsers(); 28 }