2019-10-27 01:36:31 +00:00
|
|
|
package net.shadowfacts.phycon.api;
|
|
|
|
|
|
|
|
import net.shadowfacts.phycon.api.packet.Packet;
|
2019-10-27 03:13:26 +00:00
|
|
|
import net.shadowfacts.phycon.api.util.MACAddress;
|
2019-10-27 01:36:31 +00:00
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author shadowfacts
|
|
|
|
*/
|
|
|
|
public interface PacketSink {
|
|
|
|
|
2019-10-27 03:13:26 +00:00
|
|
|
@NotNull
|
|
|
|
MACAddress getMACAddress();
|
|
|
|
|
2019-10-27 01:36:31 +00:00
|
|
|
void handle(@NotNull Packet packet);
|
|
|
|
|
|
|
|
}
|