2019-10-27 01:36:31 +00:00
|
|
|
package net.shadowfacts.phycon.api;
|
|
|
|
|
|
|
|
import net.shadowfacts.phycon.api.packet.Packet;
|
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author shadowfacts
|
|
|
|
*/
|
2021-02-13 23:24:36 +00:00
|
|
|
public interface PacketSink extends NetworkDevice {
|
2019-10-27 01:36:31 +00:00
|
|
|
|
2021-02-14 02:28:44 +00:00
|
|
|
void handle(@NotNull Packet packet);
|
2019-10-27 01:36:31 +00:00
|
|
|
|
|
|
|
}
|