mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 18:56:24 +00:00
Modifier 'public' is redundant for interface members
This commit is contained in:
parent
fbd834716f
commit
ca73651e12
@ -49,7 +49,7 @@ public interface DataStoreGetListener {
|
||||
* @param out_buffer buffer to put the object in
|
||||
* @return size of the object
|
||||
*/
|
||||
public long onDataStoreGet(
|
||||
long onDataStoreGet(
|
||||
String name,
|
||||
byte[] out_buffer);
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ public interface DataStorePutListener {
|
||||
* @param secure set to user read/write only.
|
||||
* @return 0 on success.
|
||||
*/
|
||||
public int onDataStorePut(
|
||||
int onDataStorePut(
|
||||
String name,
|
||||
byte[] buffer,
|
||||
boolean secure);
|
||||
@ -55,6 +55,6 @@ public interface DataStorePutListener {
|
||||
* @param name Object name
|
||||
* @return 0 on success.
|
||||
*/
|
||||
public int onDelete(
|
||||
int onDelete(
|
||||
String name);
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ public interface EventListener {
|
||||
*
|
||||
* @param event {@link Event} enum
|
||||
*/
|
||||
public void onEvent(Event event);
|
||||
void onEvent(Event event);
|
||||
|
||||
/**
|
||||
* Trace messages
|
||||
@ -46,5 +46,5 @@ public interface EventListener {
|
||||
*
|
||||
* @param message the trace message
|
||||
*/
|
||||
public void onTrace(String message);
|
||||
void onTrace(String message);
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ public interface PacketSender {
|
||||
* @param ttl TTL is ignored
|
||||
* @return 0 on success, any error code on failure.
|
||||
*/
|
||||
public int onSendPacketRequested(
|
||||
int onSendPacketRequested(
|
||||
long localSocket,
|
||||
InetSocketAddress remoteAddr,
|
||||
byte[] packetData,
|
||||
|
@ -53,7 +53,7 @@ public interface VirtualNetworkConfigListener {
|
||||
* @param config {@link VirtualNetworkConfig} object with the new configuration
|
||||
* @return 0 on success
|
||||
*/
|
||||
public int onNetworkConfigurationUpdated(
|
||||
int onNetworkConfigurationUpdated(
|
||||
long nwid,
|
||||
VirtualNetworkConfigOperation op,
|
||||
VirtualNetworkConfig config);
|
||||
|
@ -39,7 +39,7 @@ public interface VirtualNetworkFrameListener {
|
||||
* @param vlanId VLAN ID
|
||||
* @param frameData data to send
|
||||
*/
|
||||
public void onVirtualNetworkFrame(
|
||||
void onVirtualNetworkFrame(
|
||||
long nwid,
|
||||
long srcMac,
|
||||
long destMac,
|
||||
|
Loading…
Reference in New Issue
Block a user