Class BukkitPluginMessagingForwardingSink
java.lang.Object
com.vexsoftware.votifier.platform.forwarding.sink.messaging.AbstractPluginMessagingForwardingSink
com.vexsoftware.votifier.platform.forwarding.BukkitPluginMessagingForwardingSink
- All Implemented Interfaces:
com.vexsoftware.votifier.platform.forwarding.sink.ForwardingVoteSink,org.bukkit.plugin.messaging.PluginMessageListener
public class BukkitPluginMessagingForwardingSink
extends com.vexsoftware.votifier.platform.forwarding.sink.messaging.AbstractPluginMessagingForwardingSink
implements org.bukkit.plugin.messaging.PluginMessageListener
Created by Joe Hirschfeld on 10/20/2015.
-
Constructor Summary
ConstructorsConstructorDescriptionBukkitPluginMessagingForwardingSink(org.bukkit.plugin.Plugin plugin, String channel, com.vexsoftware.votifier.platform.forwarding.listener.ForwardedVoteListener listener, com.vexsoftware.votifier.platform.logger.LoggingAdapter logger) -
Method Summary
Modifier and TypeMethodDescriptionvoidhalt()voidinit()voidonPluginMessageReceived(@NotNull String s, @NotNull org.bukkit.entity.Player player, byte @NotNull [] bytes) Methods inherited from class com.vexsoftware.votifier.platform.forwarding.sink.messaging.AbstractPluginMessagingForwardingSink
handlePluginMessageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.plugin.messaging.PluginMessageListener
onPluginMessageReceived
-
Constructor Details
-
BukkitPluginMessagingForwardingSink
public BukkitPluginMessagingForwardingSink(org.bukkit.plugin.Plugin plugin, String channel, com.vexsoftware.votifier.platform.forwarding.listener.ForwardedVoteListener listener, com.vexsoftware.votifier.platform.logger.LoggingAdapter logger)
-
-
Method Details
-
init
public void init()- Specified by:
initin interfacecom.vexsoftware.votifier.platform.forwarding.sink.ForwardingVoteSink
-
halt
public void halt()- Specified by:
haltin interfacecom.vexsoftware.votifier.platform.forwarding.sink.ForwardingVoteSink
-
onPluginMessageReceived
public void onPluginMessageReceived(@NotNull @NotNull String s, @NotNull @NotNull org.bukkit.entity.Player player, byte @NotNull [] bytes) - Specified by:
onPluginMessageReceivedin interfaceorg.bukkit.plugin.messaging.PluginMessageListener
-