Class NodeMessenger

  • All Implemented Interfaces:
    de.dytanic.cloudnet.driver.provider.CloudMessenger

    public class NodeMessenger
    extends de.dytanic.cloudnet.driver.provider.DefaultMessenger
    implements de.dytanic.cloudnet.driver.provider.CloudMessenger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<NodeMessenger.ChannelMessageTargetChannel> getTargetChannels​(de.dytanic.cloudnet.driver.channel.ChannelMessageSender sender, de.dytanic.cloudnet.driver.channel.ChannelMessageTarget target, boolean serviceOnly)  
      java.util.Collection<NodeMessenger.ChannelMessageTargetChannel> getTargetChannels​(de.dytanic.cloudnet.driver.channel.ChannelMessageSender sender, java.util.Collection<de.dytanic.cloudnet.driver.channel.ChannelMessageTarget> targets, boolean serviceOnly)  
      void sendChannelMessage​(@NotNull de.dytanic.cloudnet.driver.channel.ChannelMessage channelMessage)  
      void sendChannelMessage​(@NotNull de.dytanic.cloudnet.driver.channel.ChannelMessage channelMessage, boolean serviceOnly)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.channel.ChannelMessage>> sendChannelMessageQueryAsync​(@NotNull de.dytanic.cloudnet.driver.channel.ChannelMessage channelMessage)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.channel.ChannelMessage>> sendChannelMessageQueryAsync​(@NotNull de.dytanic.cloudnet.driver.channel.ChannelMessage channelMessage, boolean serviceOnly)  
      • Methods inherited from class de.dytanic.cloudnet.driver.provider.DefaultMessenger

        sendChannelMessageQuery, sendSingleChannelMessageQuery, sendSingleChannelMessageQueryAsync
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.dytanic.cloudnet.driver.provider.CloudMessenger

        sendChannelMessage, sendChannelMessage, sendChannelMessage, sendChannelMessage, sendChannelMessageQuery, sendSingleChannelMessageQuery, sendSingleChannelMessageQueryAsync
    • Constructor Detail

      • NodeMessenger

        public NodeMessenger​(CloudNet cloudNet)
    • Method Detail

      • getTargetChannels

        public java.util.Collection<NodeMessenger.ChannelMessageTargetChannel> getTargetChannels​(de.dytanic.cloudnet.driver.channel.ChannelMessageSender sender,
                                                                                                 java.util.Collection<de.dytanic.cloudnet.driver.channel.ChannelMessageTarget> targets,
                                                                                                 boolean serviceOnly)
      • getTargetChannels

        public java.util.Collection<NodeMessenger.ChannelMessageTargetChannel> getTargetChannels​(de.dytanic.cloudnet.driver.channel.ChannelMessageSender sender,
                                                                                                 de.dytanic.cloudnet.driver.channel.ChannelMessageTarget target,
                                                                                                 boolean serviceOnly)
      • sendChannelMessage

        public void sendChannelMessage​(@NotNull
                                       @NotNull de.dytanic.cloudnet.driver.channel.ChannelMessage channelMessage)
        Specified by:
        sendChannelMessage in interface de.dytanic.cloudnet.driver.provider.CloudMessenger
      • sendChannelMessage

        public void sendChannelMessage​(@NotNull
                                       @NotNull de.dytanic.cloudnet.driver.channel.ChannelMessage channelMessage,
                                       boolean serviceOnly)
      • sendChannelMessageQueryAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.channel.ChannelMessage>> sendChannelMessageQueryAsync​(@NotNull
                                                                                                                                                                          @NotNull de.dytanic.cloudnet.driver.channel.ChannelMessage channelMessage)
        Specified by:
        sendChannelMessageQueryAsync in interface de.dytanic.cloudnet.driver.provider.CloudMessenger
      • sendChannelMessageQueryAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.channel.ChannelMessage>> sendChannelMessageQueryAsync​(@NotNull
                                                                                                                                                                          @NotNull de.dytanic.cloudnet.driver.channel.ChannelMessage channelMessage,
                                                                                                                                                                          boolean serviceOnly)