1 /******************************************************************
3 * Copyright 2015 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 ******************************************************************/
21 #ifndef SIMULATOR_MANAGER_JNI_H_
22 #define SIMULATOR_MANAGER_JNI_H_
30 JNIEXPORT jobject JNICALL
31 Java_org_oic_simulator_SimulatorManagerNativeInterface_createResource
32 (JNIEnv *env, jclass object, jstring jConfigPath, jobject jListener);
34 JNIEXPORT jobjectArray JNICALL
35 Java_org_oic_simulator_SimulatorManagerNativeInterface_createResources
36 (JNIEnv *env, jclass object, jstring jConfigPath, jint count, jobject jListener);
38 JNIEXPORT jobjectArray JNICALL
39 Java_org_oic_simulator_SimulatorManageNativeInterface_getResources
40 (JNIEnv *env, jclass object);
42 JNIEXPORT void JNICALL
43 Java_org_oic_simulator_SimulatorManagerNativeInterface_deleteResource
44 (JNIEnv *env, jclass object, jobject jResource);
46 JNIEXPORT void JNICALL
47 Java_org_oic_simulator_SimulatorManagerNativeInterface_deleteResources
48 (JNIEnv *env, jclass object, jstring resourceType);
50 JNIEXPORT void JNICALL
51 Java_org_oic_simulator_SimulatorManagerNativeInterface_setLogger
52 (JNIEnv *env, jclass object, jobject logger);
54 JNIEXPORT jint JNICALL
55 Java_org_iotivity_simulator_SimulatorManagerNativeInterface_findResource
56 (JNIEnv *env, jobject interfaceObject, jstring jResourceType, jobject jListener);
58 JNIEXPORT jobject JNICALL
59 Java_org_iotivity_simulator_SimulatorManagerNativeInterface_getFoundResources
60 (JNIEnv *env, jobject interfaceObject, jstring jResourceType);
66 #endif //SIMULATOR_MANAGER_JNI_H_