123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- /* DO NOT EDIT THIS FILE - it is machine generated */
- #include <jni.h>
- /* Header for class com_jg_softbus_naservice_TransService */
- #ifndef _Included_com_jg_softbus_naservice_TransService
- #define _Included_com_jg_softbus_naservice_TransService
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: registerNatives
- * Signature: ()V
- */
- JNIEXPORT void JNICALL Java_com_jg_softbus_naservice_TransService_registerNatives
- (JNIEnv *, jclass);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: createSessionServer
- * Signature: (Ljava/lang/String;Ljava/lang/String;)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_createSessionServer
- (JNIEnv *, jclass, jstring, jstring);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * 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_TransService_openSession
- (JNIEnv *, jclass, jstring, jstring, jstring, jstring, jobject);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: sendBytes
- * Signature: (ILjava/lang/Object;)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_sendBytes
- (JNIEnv *, jclass, jint, jobject);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: sendMessage
- * Signature: (ILjava/lang/Object;)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_sendMessage
- (JNIEnv *, jclass, jint, jobject);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * 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_TransService_sendStream
- (JNIEnv *, jclass, jint, jobject, jobject, jobject);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: setFileSendListener
- * Signature: (Ljava/lang/String;Ljava/lang/String;)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_setFileSendListener
- (JNIEnv *, jclass, jstring, jstring);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: readSendFileProcess
- * Signature: (I)Lcom/jg/softbus/session/SendFileProcessResult;
- */
- JNIEXPORT jobject JNICALL Java_com_jg_softbus_naservice_TransService_readSendFileProcess
- (JNIEnv *, jclass, jint);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: isSendFileCompleted
- * Signature: (I)Z
- */
- JNIEXPORT jboolean JNICALL Java_com_jg_softbus_naservice_TransService_isSendFileCompleted
- (JNIEnv *, jclass, jint);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: sendFileResult
- * Signature: (I)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_sendFileResult
- (JNIEnv *, jclass, jint);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: sendFile
- * Signature: (I[Ljava/lang/String;[Ljava/lang/String;I)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_sendFile
- (JNIEnv *, jclass, jint, jobjectArray, jobjectArray, jint);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: setFileReceiveListener
- * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_setFileReceiveListener
- (JNIEnv *, jclass, jstring, jstring, jstring);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: readFileReceiveProcess
- * Signature: (I)Lcom/jg/softbus/session/FileReceiveContent;
- */
- JNIEXPORT jobject JNICALL Java_com_jg_softbus_naservice_TransService_readFileReceiveProcess
- (JNIEnv *, jclass, jint);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: isFileReceiveCompleted
- * Signature: (I)Z
- */
- JNIEXPORT jboolean JNICALL Java_com_jg_softbus_naservice_TransService_isFileReceiveCompleted
- (JNIEnv *, jclass, jint);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: FileReceivedResult
- * Signature: (I)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_FileReceivedResult
- (JNIEnv *, jclass, jint);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: closeSession
- * Signature: (I)V
- */
- JNIEXPORT void JNICALL Java_com_jg_softbus_naservice_TransService_closeSession
- (JNIEnv *, jclass, jint);
- /*
- * Class: com_jg_softbus_naservice_TransService
- * Method: removeSessionServer
- * Signature: (Ljava/lang/String;Ljava/lang/String;)I
- */
- JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_removeSessionServer
- (JNIEnv *, jclass, jstring, jstring);
- #ifdef __cplusplus
- }
- #endif
- #endif
|