LoadMonitorNative.h File Reference

Declarations of methods exported from DLL. More...

#include <jni.h>

Go to the source code of this file.

Functions

JNIEXPORT jboolean JNICALL Java_cz_cuni_mff_been_hostmanager_load_LoadMonitorNative_nativeInitialize (JNIEnv *, jobject)
 Initialize Load Monitor.
JNIEXPORT jboolean JNICALL Java_cz_cuni_mff_been_hostmanager_load_LoadMonitorNative_nativeTerminate (JNIEnv *, jobject)
 Terminate Load Monitor and free all resources.
JNIEXPORT jobject JNICALL Java_cz_cuni_mff_been_hostmanager_load_LoadMonitorNative_nativeGetSample (JNIEnv *, jobject)
 Take load sample and convert it to the Java-compatible class.
JNIEXPORT jobject JNICALL Java_cz_cuni_mff_been_hostmanager_load_LoadMonitorNative_nativeGetHardwareDescription (JNIEnv *, jobject)
 Get description of the hardware that is monitored by the library and return its Java representation.


Detailed Description

Declarations of methods exported from DLL.

Author:
Branislav Repcek
Date:
5. 11. 2006

Function Documentation

JNIEXPORT jobject JNICALL Java_cz_cuni_mff_been_hostmanager_load_LoadMonitorNative_nativeGetHardwareDescription ( JNIEnv *  env,
jobject   
)

Get description of the hardware that is monitored by the library and return its Java representation.

Parameters:
env Java JNI environment.
Returns:
Instance of cz.cuni.mff.been.hostmanager.load.HardwareDescription class with description of the hardware.

JNIEXPORT jobject JNICALL Java_cz_cuni_mff_been_hostmanager_load_LoadMonitorNative_nativeGetSample ( JNIEnv *  env,
jobject   
)

Take load sample and convert it to the Java-compatible class.

Parameters:
env Java environment.
Returns:
Instance of cz.cuni.mff.been.hostmanager.load.LoadSample class which contains data from last load measurement.

JNIEXPORT jboolean JNICALL Java_cz_cuni_mff_been_hostmanager_load_LoadMonitorNative_nativeInitialize ( JNIEnv *  ,
jobject   
)

Initialize Load Monitor.

Returns:
true if successfull, false otherwise.

JNIEXPORT jboolean JNICALL Java_cz_cuni_mff_been_hostmanager_load_LoadMonitorNative_nativeTerminate ( JNIEnv *  ,
jobject   
)

Terminate Load Monitor and free all resources.

Returns:
true if successfull, false otherwise.


Generated on Tue Dec 19 17:43:48 2006 for Load Monitor for Linux by  doxygen 1.4.7