implemented VirtualNetworkFrameFunctionCallback

This commit is contained in:
Grant Limberg
2015-04-24 18:49:52 -07:00
parent 28168fa673
commit 4137246653
2 changed files with 45 additions and 5 deletions

View File

@ -24,17 +24,17 @@
* redistribute it in a modified binary form, please contact ZeroTier Networks
* LLC. Start here: http://www.zerotier.com/
*/
package com.zerotierone.sdk;
import java.nio.ByteBuffer;
public interface VirtualNetworkFrameListener {
void onVirtualNetworkFrame(Node node,
void onVirtualNetworkFrame(
long nwid,
long srcMac,
long destMac,
long etherType,
long vlanId,
ByteBuffer frameData,
long len);
byte[] frameData);
}