public abstract class MonitorAdapter extends java.lang.Object implements PacketListener
Constructor and Description |
---|
MonitorAdapter(Plugin plugin,
ConnectionSide side) |
MonitorAdapter(Plugin plugin,
ConnectionSide side,
java.util.logging.Logger logger) |
Modifier and Type | Method and Description |
---|---|
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(Plugin plugin, ConnectionSide side)
public MonitorAdapter(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 Plugin getPlugin()
PacketListener
getPlugin
in interface PacketListener