123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- /* DO NOT EDIT THIS FILE - it is machine generated */
- #include <jni.h>
- /* Header for class com_jg_softbus_naservice_SessionService */
- #ifndef _Included_com_jg_softbus_naservice_SessionService
- #define _Included_com_jg_softbus_naservice_SessionService
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: createSessionServer
- * Signature: (Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/callback/ISessionListener;)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_createSessionServer
- (JNIEnv *, jobject, jstring, jstring, jobject);
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: openSession
- * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/SessionAttribute;)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_openSession
- (JNIEnv *, jobject, jstring, jstring, jstring, jstring, jobject);
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: sendBytes
- * Signature: (I[BI)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_sendBytes
- (JNIEnv *, jobject, jint, jbyteArray, jint);
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: sendMessage
- * Signature: (ILjava/lang/String;I)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_sendMessage
- (JNIEnv *, jobject, jint, jstring, jint);
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: sendStream
- * Signature: (ILcom/jg/softbus/session/StreamData;Lcom/jg/softbus/session/StreamData;Lcom/jg/softbus/session/StreamFrameInfo;)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_sendStream
- (JNIEnv *, jobject, jint, jobject, jobject, jobject);
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: sendFile
- * Signature: (I[Ljava/lang/String;[Ljava/lang/String;I)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_sendFile
- (JNIEnv *, jobject, jint, jobjectArray, jobjectArray, jint);
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: setFileSendListener
- * Signature: (Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/callback/IFileSendListener;)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_setFileSendListener
- (JNIEnv *, jobject, jstring, jstring, jobject);
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: setFileReceiveListener
- * Signature: (Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/callback/IFileReceiveListener;Ljava/lang/String;)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_setFileReceiveListener
- (JNIEnv *, jobject, jstring, jstring, jobject, jstring);
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: closeSession
- * Signature: (I)V
- */
- JNIEXPORT void JNICALL Java_com_jg_softbus_naservice_SessionService_closeSession
- (JNIEnv *, jobject, jint);
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: removeSessionServer
- * Signature: (Ljava/lang/String;Ljava/lang/String;)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_removeSessionServer
- (JNIEnv *, jobject, jstring, jstring);
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: getPeerDeviceId
- * Signature: (I)Ljava/lang/String;
- */
- JNIEXPORT jstring JNICALL Java_com_jg_softbus_naservice_SessionService_getPeerDeviceId
- (JNIEnv *, jobject, jint);
-
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: getPeerSessionName
- * Signature: (I)Ljava/lang/String;
- */
- JNIEXPORT jstring JNICALL Java_com_jg_softbus_naservice_SessionService_getPeerSessionName
- (JNIEnv *, jobject, jint);
- /*
- * Class: com_jg_softbus_naservice_SessionService
- * Method: destroy
- * Signature: ()V
- */
- JNIEXPORT void JNICALL Java_com_jg_softbus_naservice_SessionService_destroy
- (JNIEnv *, jobject);
- #ifdef __cplusplus
- }
- #endif
- #endif
|