-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcom_ravencoin_core_BRCorePeerManager.h
executable file
·173 lines (152 loc) · 5.07 KB
/
com_ravencoin_core_BRCorePeerManager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_ravencoin_core_BRCorePeerManager */
#ifndef _Included_com_ravencoin_core_BRCorePeerManager
#define _Included_com_ravencoin_core_BRCorePeerManager
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: getConnectStatusValue
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_ravencoin_core_BRCorePeerManager_getConnectStatusValue
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: connect
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeerManager_connect
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: jniUseFixedPeer
* Signature: (Ljava/lang/String;I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_ravencoin_core_BRCorePeerManager_jniUseFixedPeer
(JNIEnv *, jobject, jstring, jint);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: getCurrentPeerName
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_ravencoin_core_BRCorePeerManager_getCurrentPeerName
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: disconnect
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeerManager_disconnect
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: rescan
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeerManager_rescan
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: getEstimatedBlockHeight
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCorePeerManager_getEstimatedBlockHeight
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: getLastBlockHeight
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCorePeerManager_getLastBlockHeight
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: getLastBlockTimestamp
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCorePeerManager_getLastBlockTimestamp
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: getSyncProgress
* Signature: (J)D
*/
JNIEXPORT jdouble JNICALL Java_com_ravencoin_core_BRCorePeerManager_getSyncProgress
(JNIEnv *, jobject, jlong);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: getPeerCount
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_ravencoin_core_BRCorePeerManager_getPeerCount
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: getDownloadPeerName
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_ravencoin_core_BRCorePeerManager_getDownloadPeerName
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: publishTransactionWithListener
* Signature: (Lcom/ravencoin/core/BRCoreTransaction;Lcom/ravencoin/core/BRCorePeerManager/Listener;)V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeerManager_publishTransactionWithListener
(JNIEnv *, jobject, jobject, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: getRelayCount
* Signature: ([B)J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCorePeerManager_getRelayCount
(JNIEnv *, jobject, jbyteArray);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: testSaveBlocksCallback
* Signature: (Z[Lcom/ravencoin/core/BRCoreMerkleBlock;)V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeerManager_testSaveBlocksCallback
(JNIEnv *, jobject, jboolean, jobjectArray);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: testSavePeersCallback
* Signature: (Z[Lcom/ravencoin/core/BRCorePeer;)V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeerManager_testSavePeersCallback
(JNIEnv *, jobject, jboolean, jobjectArray);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: createCorePeerManager
* Signature: (Lcom/ravencoin/core/BRCoreChainParams;Lcom/ravencoin/core/BRCoreWallet;D[Lcom/ravencoin/core/BRCoreMerkleBlock;[Lcom/ravencoin/core/BRCorePeer;)J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCorePeerManager_createCorePeerManager
(JNIEnv *, jclass, jobject, jobject, jdouble, jobjectArray, jobjectArray);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: installListener
* Signature: (Lcom/ravencoin/core/BRCorePeerManager/Listener;)V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeerManager_installListener
(JNIEnv *, jobject, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: disposeNative
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeerManager_disposeNative
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeerManager
* Method: initializeNative
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeerManager_initializeNative
(JNIEnv *, jclass);
#ifdef __cplusplus
}
#endif
#endif