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

    Constructors
    Constructor
    Description
    BukkitPluginMessagingForwardingSink(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 Type
    Method
    Description
    void
     
    void
     
    void
    onPluginMessageReceived(@NotNull String s, @NotNull org.bukkit.entity.Player player, byte @NotNull [] bytes)
     

    Methods inherited from class com.vexsoftware.votifier.platform.forwarding.sink.messaging.AbstractPluginMessagingForwardingSink

    handlePluginMessage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      init in interface com.vexsoftware.votifier.platform.forwarding.sink.ForwardingVoteSink
    • halt

      public void halt()
      Specified by:
      halt in interface com.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:
      onPluginMessageReceived in interface org.bukkit.plugin.messaging.PluginMessageListener