com_jg_softbus_naservice_SessionService.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /* DO NOT EDIT THIS FILE - it is machine generated */
  2. #include <jni.h>
  3. /* Header for class com_jg_softbus_naservice_SessionService */
  4. #ifndef _Included_com_jg_softbus_naservice_SessionService
  5. #define _Included_com_jg_softbus_naservice_SessionService
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. /*
  10. * Class: com_jg_softbus_naservice_SessionService
  11. * Method: createSessionServer
  12. * Signature: (Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/callback/ISessionListener;)I
  13. */
  14. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_createSessionServer
  15. (JNIEnv *, jobject, jstring, jstring, jobject);
  16. /*
  17. * Class: com_jg_softbus_naservice_SessionService
  18. * Method: openSession
  19. * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/SessionAttribute;)I
  20. */
  21. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_openSession
  22. (JNIEnv *, jobject, jstring, jstring, jstring, jstring, jobject);
  23. /*
  24. * Class: com_jg_softbus_naservice_SessionService
  25. * Method: sendBytes
  26. * Signature: (I[BI)I
  27. */
  28. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_sendBytes
  29. (JNIEnv *, jobject, jint, jbyteArray, jint);
  30. /*
  31. * Class: com_jg_softbus_naservice_SessionService
  32. * Method: sendMessage
  33. * Signature: (ILjava/lang/String;I)I
  34. */
  35. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_sendMessage
  36. (JNIEnv *, jobject, jint, jstring, jint);
  37. /*
  38. * Class: com_jg_softbus_naservice_SessionService
  39. * Method: sendStream
  40. * Signature: (ILcom/jg/softbus/session/StreamData;Lcom/jg/softbus/session/StreamData;Lcom/jg/softbus/session/StreamFrameInfo;)I
  41. */
  42. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_sendStream
  43. (JNIEnv *, jobject, jint, jobject, jobject, jobject);
  44. /*
  45. * Class: com_jg_softbus_naservice_SessionService
  46. * Method: sendFile
  47. * Signature: (I[Ljava/lang/String;[Ljava/lang/String;I)I
  48. */
  49. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_sendFile
  50. (JNIEnv *, jobject, jint, jobjectArray, jobjectArray, jint);
  51. /*
  52. * Class: com_jg_softbus_naservice_SessionService
  53. * Method: setFileSendListener
  54. * Signature: (Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/callback/IFileSendListener;)I
  55. */
  56. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_setFileSendListener
  57. (JNIEnv *, jobject, jstring, jstring, jobject);
  58. /*
  59. * Class: com_jg_softbus_naservice_SessionService
  60. * Method: setFileReceiveListener
  61. * Signature: (Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/callback/IFileReceiveListener;Ljava/lang/String;)I
  62. */
  63. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_setFileReceiveListener
  64. (JNIEnv *, jobject, jstring, jstring, jobject, jstring);
  65. /*
  66. * Class: com_jg_softbus_naservice_SessionService
  67. * Method: closeSession
  68. * Signature: (I)V
  69. */
  70. JNIEXPORT void JNICALL Java_com_jg_softbus_naservice_SessionService_closeSession
  71. (JNIEnv *, jobject, jint);
  72. /*
  73. * Class: com_jg_softbus_naservice_SessionService
  74. * Method: removeSessionServer
  75. * Signature: (Ljava/lang/String;Ljava/lang/String;)I
  76. */
  77. JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_removeSessionServer
  78. (JNIEnv *, jobject, jstring, jstring);
  79. /*
  80. * Class: com_jg_softbus_naservice_SessionService
  81. * Method: getPeerDeviceId
  82. * Signature: (I)Ljava/lang/String;
  83. */
  84. JNIEXPORT jstring JNICALL Java_com_jg_softbus_naservice_SessionService_getPeerDeviceId
  85. (JNIEnv *, jobject, jint);
  86. /*
  87. * Class: com_jg_softbus_naservice_SessionService
  88. * Method: getPeerSessionName
  89. * Signature: (I)Ljava/lang/String;
  90. */
  91. JNIEXPORT jstring JNICALL Java_com_jg_softbus_naservice_SessionService_getPeerSessionName
  92. (JNIEnv *, jobject, jint);
  93. /*
  94. * Class: com_jg_softbus_naservice_SessionService
  95. * Method: destroy
  96. * Signature: ()V
  97. */
  98. JNIEXPORT void JNICALL Java_com_jg_softbus_naservice_SessionService_destroy
  99. (JNIEnv *, jobject);
  100. #ifdef __cplusplus
  101. }
  102. #endif
  103. #endif