Class PubSubPublish

java.lang.Object
io.netty.buffer.DefaultByteBufHolder
org.drasyl.handler.pubsub.PubSubPublish
All Implemented Interfaces:
io.netty.buffer.ByteBufHolder, io.netty.util.ReferenceCounted

public final class PubSubPublish extends io.netty.buffer.DefaultByteBufHolder
Published DefaultByteBufHolder.content() ()} to topic getTopic().
See Also:
  • Method Details

    • getId

      public UUID getId()
    • getTopic

      public String getTopic()
    • getContent

      public io.netty.buffer.ByteBuf getContent()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class io.netty.buffer.DefaultByteBufHolder
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class io.netty.buffer.DefaultByteBufHolder
    • of

      public static PubSubPublish of(String topic, io.netty.buffer.ByteBuf content)