Package org.drasyl.handler.pubsub
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
,PubSubMessage
public final class PubSubPublish
extends io.netty.buffer.DefaultByteBufHolder
implements PubSubMessage
Published
DefaultByteBufHolder.content()
()} to topic getTopic()
.- See Also:
-
Method Summary
Methods inherited from class io.netty.buffer.DefaultByteBufHolder
content, contentToString, copy, duplicate, refCnt, release, release, replace, retain, retain, retainedDuplicate, toString, touch, touch
-
Method Details
-
getId
- Specified by:
getId
in interfacePubSubMessage
-
getTopic
-
getContent
public io.netty.buffer.ByteBuf getContent() -
equals
- Overrides:
equals
in classio.netty.buffer.DefaultByteBufHolder
-
hashCode
public int hashCode()- Overrides:
hashCode
in classio.netty.buffer.DefaultByteBufHolder
-
of
-