Imported Upstream version 0.9.1
[platform/upstream/iotivity.git] / resource / csdk / connectivity / samples / android / sample_service / jni / org_iotivity_service_RMInterface.h
1 #include <jni.h>
2 /* Header for class org_iotivity_service_RMInterface */
3
4 #ifndef _Included_org_iotivity_service_RMInterface
5 #define _Included_org_iotivity_service_RMInterface
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_setNativeResponseListener
10   (JNIEnv *, jobject, jobject);
11 /*
12  * Class:     org_iotivity_service_RMInterface
13  * Method:    RMInitialize
14  * Signature: (Landroid/content/Context;)V
15  */
16 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMInitialize
17   (JNIEnv *, jobject, jobject);
18
19 /*
20  * Class:     org_iotivity_service_RMInterface
21  * Method:    RMTerminate
22  * Signature: ()V
23  */
24 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMTerminate
25   (JNIEnv *, jobject);
26
27 /*
28  * Class:     org_iotivity_service_RMInterface
29  * Method:    RMStartListeningServer
30  * Signature: ()V
31  */
32 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMStartListeningServer
33   (JNIEnv *, jobject);
34
35 /*
36  * Class:     org_iotivity_service_RMInterface
37  * Method:    RMStartDiscoveryServer
38  * Signature: ()V
39  */
40 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMStartDiscoveryServer
41   (JNIEnv *, jobject);
42
43 /*
44  * Class:     org_iotivity_service_RMInterface
45  * Method:    RMRegisterHandler
46  * Signature: ()V
47  */
48 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMRegisterHandler
49   (JNIEnv *, jobject);
50
51 /*
52  * Class:     org_iotivity_service_RMInterface
53  * Method:    RMFindResource
54  * Signature: (Ljava/lang/String;)V
55  */
56 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMFindResource
57   (JNIEnv *, jobject, jstring);
58
59 /*
60  * Class:     org_iotivity_service_RMInterface
61  * Method:    RMSendRequest
62  * Signature: (Ljava/lang/String;Ljava/lang/String;III)V
63  */
64 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMSendRequest
65   (JNIEnv *, jobject, jstring, jstring, jint, jint, jint);
66
67 /*
68  * Class:     org_iotivity_service_RMInterface
69  * Method:    RMSendReqestToAll
70  * Signature: (Ljava/lang/String;I)V
71  */
72 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMSendReqestToAll
73   (JNIEnv *, jobject, jstring, jint);
74
75 /*
76  * Class:     org_iotivity_service_RMInterface
77  * Method:    RMSendResponse
78  * Signature: (IIII)V
79  */
80 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMSendResponse
81   (JNIEnv *, jobject, jint, jint, jint, jint);
82
83 /*
84  * Class:     org_iotivity_service_RMInterface
85  * Method:    RMAdvertiseResource
86  * Signature: (Ljava/lang/String)V
87  */
88 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMAdvertiseResource
89   (JNIEnv *, jobject, jstring);
90
91 /*
92  * Class:     org_iotivity_service_RMInterface
93  * Method:    RMSendNotification
94  * Signature: (Ljava/lang/String;Ljava/lang/String;IIII)V
95  */
96 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMSendNotification
97   (JNIEnv *, jobject, jstring, jstring, jint, jint, jint, jint);
98
99 /*
100  * Class:     org_iotivity_service_RMInterface
101  * Method:    RMSelectNetwork
102  * Signature: (I)V
103  */
104 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMSelectNetwork
105   (JNIEnv *, jobject, jint);
106
107 /*
108  * Class:     org_iotivity_service_RMInterface
109  * Method:    RMUnSelectNetwork
110  * Signature: (I)V
111  */
112 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMUnSelectNetwork
113   (JNIEnv *, jobject, jint);
114
115 /*
116  * Class:     org_iotivity_service_RMInterface
117  * Method:    RMGetNetworkInfomation
118  * Signature: ()V
119  */
120 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMGetNetworkInfomation
121   (JNIEnv *, jobject);
122
123 /*
124  * Class:     org_iotivity_service_RMInterface
125  * Method:    RMHandleRequestResponse
126  * Signature: ()V
127  */
128 JNIEXPORT void JNICALL Java_org_iotivity_service_RMInterface_RMHandleRequestResponse
129   (JNIEnv *, jobject);
130
131 #ifdef __cplusplus
132 }
133 #endif
134 #endif