public abstract class PacketHandler extends AbstractPacketHandler
Constructor and Description |
---|
PacketHandler() |
Modifier and Type | Method and Description |
---|---|
void |
connected(ChannelWrapper channel) |
void |
disconnected(ChannelWrapper channel) |
void |
exception(Throwable t) |
void |
handle(PacketWrapper packet) |
boolean |
shouldHandle(PacketWrapper packet) |
abstract String |
toString() |
void |
writabilityChanged(ChannelWrapper channel) |
handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle
public boolean shouldHandle(PacketWrapper packet) throws Exception
Exception
public void handle(PacketWrapper packet) throws Exception
Exception
public void connected(ChannelWrapper channel) throws Exception
Exception
public void disconnected(ChannelWrapper channel) throws Exception
Exception
public void writabilityChanged(ChannelWrapper channel) throws Exception
Exception
Copyright © 2012–2020 SpigotMC. All rights reserved.