Interface WrappedChannelMessageReceiveEvent

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default de.dytanic.cloudnet.driver.serialization.ProtocolBuffer createBinaryResponse()  
      default @NotNull de.dytanic.cloudnet.driver.serialization.ProtocolBuffer getBuffer()  
      default @NotNull java.lang.String getChannel()  
      default @NotNull de.dytanic.cloudnet.driver.channel.ChannelMessage getChannelMessage()  
      default @NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument getData()  
      default @Nullable java.lang.String getMessage()  
      default @NotNull de.dytanic.cloudnet.driver.channel.ChannelMessageSender getSender()  
      default @NotNull java.util.Collection<de.dytanic.cloudnet.driver.channel.ChannelMessageTarget> getTargets()  
      de.dytanic.cloudnet.driver.event.events.channel.ChannelMessageReceiveEvent getWrapped()  
      default boolean isQuery()  
      default void setBinaryResponse​(@NotNull de.dytanic.cloudnet.driver.serialization.ProtocolBuffer buffer)  
      default void setJsonResponse​(@NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument json)  
      default void setQueryResponse​(@Nullable de.dytanic.cloudnet.driver.channel.ChannelMessage queryResponse)  
    • Method Detail

      • getWrapped

        de.dytanic.cloudnet.driver.event.events.channel.ChannelMessageReceiveEvent getWrapped()
      • getSender

        @NotNull
        default @NotNull de.dytanic.cloudnet.driver.channel.ChannelMessageSender getSender()
      • getTargets

        @NotNull
        default @NotNull java.util.Collection<de.dytanic.cloudnet.driver.channel.ChannelMessageTarget> getTargets()
      • getChannel

        @NotNull
        default @NotNull java.lang.String getChannel()
      • getMessage

        @Nullable
        default @Nullable java.lang.String getMessage()
      • getChannelMessage

        @NotNull
        default @NotNull de.dytanic.cloudnet.driver.channel.ChannelMessage getChannelMessage()
      • getData

        @NotNull
        default @NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument getData()
      • getBuffer

        @NotNull
        default @NotNull de.dytanic.cloudnet.driver.serialization.ProtocolBuffer getBuffer()
      • isQuery

        default boolean isQuery()
      • setQueryResponse

        default void setQueryResponse​(@Nullable
                                      @Nullable de.dytanic.cloudnet.driver.channel.ChannelMessage queryResponse)
      • setJsonResponse

        default void setJsonResponse​(@NotNull
                                     @NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument json)
      • setBinaryResponse

        default void setBinaryResponse​(@NotNull
                                       @NotNull de.dytanic.cloudnet.driver.serialization.ProtocolBuffer buffer)
      • createBinaryResponse

        default de.dytanic.cloudnet.driver.serialization.ProtocolBuffer createBinaryResponse()