summaryrefslogtreecommitdiff
path: root/java/src
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2015-04-24 19:43:17 -0700
committerGrant Limberg <glimberg@gmail.com>2015-04-24 19:43:17 -0700
commitf2eed5a65f21c8d5916defcf4b88d2665e38a192 (patch)
tree0cb0c5277b2ec1d1d08de8ccc105f1cbe3c46b3f /java/src
parent5e1fb4e2530e8995f942686cf0783f47a3c804c8 (diff)
downloadinfinitytier-f2eed5a65f21c8d5916defcf4b88d2665e38a192.tar.gz
infinitytier-f2eed5a65f21c8d5916defcf4b88d2665e38a192.zip
implemented WirePacketSendFunction
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/zerotierone/sdk/PacketSender.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/java/src/com/zerotierone/sdk/PacketSender.java b/java/src/com/zerotierone/sdk/PacketSender.java
index 0e007ffb..572e1807 100644
--- a/java/src/com/zerotierone/sdk/PacketSender.java
+++ b/java/src/com/zerotierone/sdk/PacketSender.java
@@ -30,9 +30,8 @@ import java.nio.ByteBuffer;
public interface PacketSender {
- public int onSendPacketRequested(Node node,
+ public int onSendPacketRequested(
String addr,
- int linkDesc,
- ByteBuffer packetData,
- long dataLength);
+ int linkDesparation,
+ byte[] packetData);
}