mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 13:07:55 +00:00
rename Node.networks -> Node.networkConfigs
This commit is contained in:
parent
7f996ea6d5
commit
8d74d34f2a
@ -1348,10 +1348,10 @@ JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_peers(
|
||||
|
||||
/*
|
||||
* Class: com_zerotier_sdk_Node
|
||||
* Method: networks
|
||||
* Method: networkConfigs
|
||||
* Signature: (J)[Lcom/zerotier/sdk/VirtualNetworkConfig;
|
||||
*/
|
||||
JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_networks(
|
||||
JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_networkConfigs(
|
||||
JNIEnv *env, jobject obj, jlong id)
|
||||
{
|
||||
int64_t nodeId = (int64_t) id;
|
||||
|
@ -129,10 +129,10 @@ JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_peers
|
||||
|
||||
/*
|
||||
* Class: com_zerotier_sdk_Node
|
||||
* Method: networks
|
||||
* Method: networkConfigs
|
||||
* Signature: (J)[Lcom/zerotier/sdk/VirtualNetworkConfig;
|
||||
*/
|
||||
JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_networks
|
||||
JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_networkConfigs
|
||||
(JNIEnv *, jobject, jlong);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -367,8 +367,8 @@ public class Node {
|
||||
*
|
||||
* @return List of networks or NULL on failure
|
||||
*/
|
||||
public VirtualNetworkConfig[] networks() {
|
||||
return networks(nodeId);
|
||||
public VirtualNetworkConfig[] networkConfigs() {
|
||||
return networkConfigs(nodeId);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -456,5 +456,5 @@ public class Node {
|
||||
|
||||
private native Peer[] peers(long nodeId);
|
||||
|
||||
private native VirtualNetworkConfig[] networks(long nodeId);
|
||||
private native VirtualNetworkConfig[] networkConfigs(long nodeId);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user