Dekoh platform API

com.pramati.bfly.das.api
Interface NetworkCallbackListener


public interface NetworkCallbackListener

NetworkCallbackListener interface for getting call back when an Dekoh Desktop goes online/offline.

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 its coresponding NetworkCallbackSource implementor.

Similarly, If any existing class which has registered with a NetworkCallbackSource earlier and no more interested in receiving callbacks can deregister with their coresponding NetworkCallbackSource implementor.

Since:
7 Nov, 2007
See Also:
NetworkCallbackSource.addCallbackListener(NetworkCallbackListener), NetworkCallbackSource.removeCallbackListener(NetworkCallbackListener)

Method Summary
 void goOffline()
          Callback method when Dekoh Desktop goes offline, and is unable to connect to central server.
 void goOnline()
          Callback method when Dekoh Desktop goes online, and is able to connect to central server.
 

Method Detail

goOnline

void goOnline()
Callback method when Dekoh Desktop goes online, and is able to connect to central server.


goOffline

void goOffline()
Callback method when Dekoh Desktop goes offline, and is unable to connect to central server. Reasons for Dekoh Desktop going offline could be


Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers