com_jg_softbus_naservice_TransService.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /* DO NOT EDIT THIS FILE - it is machine generated */
  2. #include <jni.h>
  3. /* Header for class com_jg_softbus_naservice_TransService */
  4. #ifndef _Included_com_jg_softbus_naservice_TransService
  5. #define _Included_com_jg_softbus_naservice_TransService
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. /*
  10. * Class: com_jg_softbus_naservice_TransService
  11. * Method: registerNatives
  12. * Signature: ()V
  13. */
  14. JNIEXPORT void JNICALL Java_com_jg_softbus_naservice_TransService_registerNatives
  15. (JNIEnv *, jclass);
  16. /*
  17. * Class: com_jg_softbus_naservice_TransService
  18. * Method: createSessionServer
  19. * Signature: (Ljava/lang/String;Ljava/lang/String;)I
  20. */
  21. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_createSessionServer
  22. (JNIEnv *, jclass, jstring, jstring);
  23. /*
  24. * Class: com_jg_softbus_naservice_TransService
  25. * Method: openSession
  26. * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/SessionAttribute;)I
  27. */
  28. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_openSession
  29. (JNIEnv *, jclass, jstring, jstring, jstring, jstring, jobject);
  30. /*
  31. * Class: com_jg_softbus_naservice_TransService
  32. * Method: sendBytes
  33. * Signature: (ILjava/lang/Object;)I
  34. */
  35. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_sendBytes
  36. (JNIEnv *, jclass, jint, jobject);
  37. /*
  38. * Class: com_jg_softbus_naservice_TransService
  39. * Method: sendMessage
  40. * Signature: (ILjava/lang/Object;)I
  41. */
  42. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_sendMessage
  43. (JNIEnv *, jclass, jint, jobject);
  44. /*
  45. * Class: com_jg_softbus_naservice_TransService
  46. * Method: sendStream
  47. * Signature: (ILcom/jg/softbus/session/StreamData;Lcom/jg/softbus/session/StreamData;Lcom/jg/softbus/session/StreamFrameInfo;)I
  48. */
  49. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_sendStream
  50. (JNIEnv *, jclass, jint, jobject, jobject, jobject);
  51. /*
  52. * Class: com_jg_softbus_naservice_TransService
  53. * Method: setFileSendListener
  54. * Signature: (Ljava/lang/String;Ljava/lang/String;)I
  55. */
  56. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_setFileSendListener
  57. (JNIEnv *, jclass, jstring, jstring);
  58. /*
  59. * Class: com_jg_softbus_naservice_TransService
  60. * Method: readSendFileProcess
  61. * Signature: (I)Lcom/jg/softbus/session/SendFileProcessResult;
  62. */
  63. JNIEXPORT jobject JNICALL Java_com_jg_softbus_naservice_TransService_readSendFileProcess
  64. (JNIEnv *, jclass, jint);
  65. /*
  66. * Class: com_jg_softbus_naservice_TransService
  67. * Method: isSendFileCompleted
  68. * Signature: (I)Z
  69. */
  70. JNIEXPORT jboolean JNICALL Java_com_jg_softbus_naservice_TransService_isSendFileCompleted
  71. (JNIEnv *, jclass, jint);
  72. /*
  73. * Class: com_jg_softbus_naservice_TransService
  74. * Method: sendFileResult
  75. * Signature: (I)I
  76. */
  77. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_sendFileResult
  78. (JNIEnv *, jclass, jint);
  79. /*
  80. * Class: com_jg_softbus_naservice_TransService
  81. * Method: sendFile
  82. * Signature: (I[Ljava/lang/String;[Ljava/lang/String;I)I
  83. */
  84. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_sendFile
  85. (JNIEnv *, jclass, jint, jobjectArray, jobjectArray, jint);
  86. /*
  87. * Class: com_jg_softbus_naservice_TransService
  88. * Method: setFileReceiveListener
  89. * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
  90. */
  91. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_setFileReceiveListener
  92. (JNIEnv *, jclass, jstring, jstring, jstring);
  93. /*
  94. * Class: com_jg_softbus_naservice_TransService
  95. * Method: readFileReceiveProcess
  96. * Signature: (I)Lcom/jg/softbus/session/FileReceiveContent;
  97. */
  98. JNIEXPORT jobject JNICALL Java_com_jg_softbus_naservice_TransService_readFileReceiveProcess
  99. (JNIEnv *, jclass, jint);
  100. /*
  101. * Class: com_jg_softbus_naservice_TransService
  102. * Method: isFileReceiveCompleted
  103. * Signature: (I)Z
  104. */
  105. JNIEXPORT jboolean JNICALL Java_com_jg_softbus_naservice_TransService_isFileReceiveCompleted
  106. (JNIEnv *, jclass, jint);
  107. /*
  108. * Class: com_jg_softbus_naservice_TransService
  109. * Method: FileReceivedResult
  110. * Signature: (I)I
  111. */
  112. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_FileReceivedResult
  113. (JNIEnv *, jclass, jint);
  114. /*
  115. * Class: com_jg_softbus_naservice_TransService
  116. * Method: closeSession
  117. * Signature: (I)V
  118. */
  119. JNIEXPORT void JNICALL Java_com_jg_softbus_naservice_TransService_closeSession
  120. (JNIEnv *, jclass, jint);
  121. /*
  122. * Class: com_jg_softbus_naservice_TransService
  123. * Method: removeSessionServer
  124. * Signature: (Ljava/lang/String;Ljava/lang/String;)I
  125. */
  126. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_TransService_removeSessionServer
  127. (JNIEnv *, jclass, jstring, jstring);
  128. #ifdef __cplusplus
  129. }
  130. #endif
  131. #endif