public abstract class MonitorAdapter extends java.lang.Object implements PacketListener
Constructor and Description |
---|
MonitorAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide side) |
MonitorAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide side,
java.util.logging.Logger logger) |
Modifier and Type | Method and Description |
---|---|
org.bukkit.plugin.Plugin |
getPlugin()
Retrieve the plugin that created list packet listener.
|
ListeningWhitelist |
getReceivingWhitelist()
Retrieve which packets sent by the client this listener will observe.
|
ListeningWhitelist |
getSendingWhitelist()
Retrieve which packets sent by the server this listener will observe.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPacketReceiving, onPacketSending
public MonitorAdapter(org.bukkit.plugin.Plugin plugin, ConnectionSide side)
public MonitorAdapter(org.bukkit.plugin.Plugin plugin, ConnectionSide side, java.util.logging.Logger logger)
public ListeningWhitelist getSendingWhitelist()
PacketListener
getSendingWhitelist
in interface PacketListener
public ListeningWhitelist getReceivingWhitelist()
PacketListener
getReceivingWhitelist
in interface PacketListener
public org.bukkit.plugin.Plugin getPlugin()
PacketListener
getPlugin
in interface PacketListener