1 /******************************************************************
3 * Copyright 2014 Samsung Electronics All Rights Reserved.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
19 ******************************************************************/
20 #ifndef _SSMCore_JNI_H_
21 #define _SSMCore_JNI_H_
29 JNIEXPORT void JNICALL Java_org_iotivity_service_ssm_CoreController_initializeSSMCore
30 (JNIEnv *env, jclass clz, jstring jstrXmlDescription);
32 JNIEXPORT void JNICALL Java_org_iotivity_service_ssm_CoreController_startSSMCore
33 (JNIEnv *env, jclass clz);
35 JNIEXPORT void JNICALL Java_org_iotivity_service_ssm_CoreController_stopSSMCore
36 (JNIEnv *env, jclass clz);
38 JNIEXPORT void JNICALL Java_org_iotivity_service_ssm_CoreController_terminateSSMCore
39 (JNIEnv *env, jclass clz);
41 JNIEXPORT jobject JNICALL Java_org_iotivity_service_ssm_CoreController_createQueryEngine
42 (JNIEnv *env, jclass clz);
44 JNIEXPORT jint JNICALL Java_org_iotivity_service_ssm_CoreController_releaseQueryEngine
45 (JNIEnv *env, jclass clz, jobject queryEngine);
47 JNIEXPORT jint JNICALL Java_org_iotivity_service_ssm_CoreController_executeContextQuery
48 (JNIEnv *env, jclass clz, jint pQueryEngineInstance, jstring jstrContextQuery);
50 JNIEXPORT void JNICALL Java_org_iotivity_service_ssm_CoreController_registerQueryEvent
51 (JNIEnv *env, jclass clz, jint pQueryEngineInstance, jobject queryEngineEvent);
53 JNIEXPORT void JNICALL Java_org_iotivity_service_ssm_CoreController_killContextQuery
54 (JNIEnv *env, jclass clz, jint pQueryEngineInstance, jint cqid);
56 JNIEXPORT jint JNICALL Java_org_iotivity_service_ssm_CoreController_getDataId
57 (JNIEnv *env, jclass clz, jint pDataReaderInstance);
59 JNIEXPORT jobject JNICALL Java_org_iotivity_service_ssm_CoreController_getAffectedModels
60 (JNIEnv *env, jclass clz, jint pDataReaderInstance);
62 JNIEXPORT jint JNICALL Java_org_iotivity_service_ssm_CoreController_getModelDataCount
63 (JNIEnv *env, jclass clz, jint pDataReaderInstance, jstring jstrModelName);
65 JNIEXPORT jobject JNICALL Java_org_iotivity_service_ssm_CoreController_getModelData
66 (JNIEnv *env, jclass clz, jint pDataReaderInstance, jstring jstrModelName, jint jintDataIndex );
68 JNIEXPORT jint JNICALL Java_org_iotivity_service_ssm_CoreController_getPropertyCount
69 (JNIEnv *env, jclass clz, jint pIModelDataInstance );
71 JNIEXPORT jstring JNICALL Java_org_iotivity_service_ssm_CoreController_getPropertyName
72 (JNIEnv *env, jclass clz, jint pIModelDataInstance, jint propertyIndex );
74 JNIEXPORT jstring JNICALL Java_org_iotivity_service_ssm_CoreController_getPropertyValue
75 (JNIEnv *env, jclass clz, jint pIModelDataInstance, jint propertyIndex );
77 JNIEXPORT void JNICALL Java_org_iotivity_service_ssm_CoreController_registerReportReceiver
78 (JNIEnv *env, jclass clz, jobject reportReceiver );