Dekoh platform API

com.pramati.bfly.das.api
Interface DekohUserListener

All Known Implementing Classes:
AggregatorInitializer, PortalAppsAggregatorInitializer

public interface DekohUserListener

DekohUserListener interface for getting call back when an DesktopUser logs-in/logs-off from a Dekoh Desktop using a Login Manager.

The class that is interested in receiving such event callbacks should implement this interface (and all the methods it contains). The listener Object created can be registered with a Login Manager.

If any existing class which has registered with Login Manager earlier and no more interested in receiving callbacks can deregister with that Login Manager.

Since:
12 Jul, 2007
See Also:
AbstractLoginManager.registerLoginListener(DekohUserListener), AbstractLoginManager.deregisterLoginListener(DekohUserListener)

Method Summary
 void userGoesOffline(DesktopUser user)
          Invoked after a DekohDesktop goes offline and this Desktopuser becomes an offline user.
 void userGoesOnline(DesktopUser user)
          Invoked after a DekohDesktop goes online and previously logged in user credentials are successfully validated with central server.
 void userLogsIn(DesktopUser user)
          Invoked after user successfully logs into this Dekoh Desktop.
 void userLogsOut(DesktopUser user)
          Invoked after user successfully logs off from this Dekoh Desktop.
 

Method Detail

userLogsIn

void userLogsIn(DesktopUser user)
Invoked after user successfully logs into this Dekoh Desktop.


userLogsOut

void userLogsOut(DesktopUser user)
Invoked after user successfully logs off from this Dekoh Desktop.


userGoesOnline

void userGoesOnline(DesktopUser user)
Invoked after a DekohDesktop goes online and previously logged in user credentials are successfully validated with central server. If a user logs into a Dekoh Desktop, when not connected to internet, user credentials are validated when internet connection is available. This callback ensures that any Dekoh operation (Contact addition, sharing an application) which needs validated credentials with central server are allowed.


userGoesOffline

void userGoesOffline(DesktopUser user)
Invoked after a DekohDesktop goes offline and this Desktopuser becomes an offline user. This callback ensures that any Dekoh operation (Contact addition, sharing an application) which needs validated credentials with central server are not allowed.


Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers