18 lines
323 B
Java
18 lines
323 B
Java
package net.shadowfacts.phycon.api;
|
|
|
|
import net.shadowfacts.phycon.api.packet.Packet;
|
|
import net.shadowfacts.phycon.api.util.MACAddress;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/**
|
|
* @author shadowfacts
|
|
*/
|
|
public interface PacketSink {
|
|
|
|
@NotNull
|
|
MACAddress getMACAddress();
|
|
|
|
void handle(@NotNull Packet packet);
|
|
|
|
}
|