Initial commit from SVN.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package com.foundation.tcv.swt.client.util;
|
||||
|
||||
/**
|
||||
* Copyright Wynne Crisman 2006<p>
|
||||
*/
|
||||
public class ActivityListener {
|
||||
/**
|
||||
* ActivityListener constructor.
|
||||
*/
|
||||
private ActivityListener() {
|
||||
super();
|
||||
}//ActivityListener()//
|
||||
/**
|
||||
* Initializes the listener.
|
||||
*/
|
||||
public static native void initialize();
|
||||
/**
|
||||
* Releases the listener.
|
||||
*/
|
||||
public static native void release();
|
||||
/**
|
||||
* Called by the listener when the system has experienced activity.
|
||||
* <p>Note: This will only be called once per 10 seconds.</p>
|
||||
*/
|
||||
public static void logActivity() {
|
||||
//TODO: log the activity and notify listeners when there is no activity for a period of time.
|
||||
}//logActivity()//
|
||||
}//ActivityListener//
|
||||
Reference in New Issue
Block a user