mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-06 21:11:43 -07:00
added DataStorePutFunction implementation
updated DataStorePutListener to also have an onDelete() method
This commit is contained in:
parent
53ebd5a9a5
commit
dc00ce4f44
2 changed files with 64 additions and 7 deletions
|
@ -29,9 +29,11 @@ package com.zerotierone.sdk;
|
|||
import java.nio.ByteBuffer;
|
||||
|
||||
public interface DataStorePutListener {
|
||||
public int onDataStorePut(Node node,
|
||||
String name,
|
||||
ByteBuffer buffer,
|
||||
long bufferSize,
|
||||
boolean secure);
|
||||
public int onDataStorePut(
|
||||
String name,
|
||||
byte[] buffer,
|
||||
boolean secure);
|
||||
|
||||
public int onDelete(
|
||||
String name);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue