final case class Publish(flags: ControlPacketFlags, topicName: String, packetId: Option[PacketId], payload: ByteString) extends ControlPacket with Product with Serializable
3.3 PUBLISH – Publish message http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html
- Annotations
- @InternalApi()
- Source
- model.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Publish
- Serializable
- Product
- Equals
- ControlPacket
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Publish(topicName: String, payload: ByteString)
Conveniently create a publish message with at least once delivery
- new Publish(flags: ControlPacketFlags, topicName: String, payload: ByteString)
3.3 PUBLISH – Publish message http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html
- new Publish(flags: ControlPacketFlags, topicName: String, packetId: Option[PacketId], payload: ByteString)
Value Members
- val flags: ControlPacketFlags
- Definition Classes
- Publish → ControlPacket
- val packetId: Option[PacketId]
- val packetType: ControlPacketType
- Definition Classes
- ControlPacket
- val payload: ByteString
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def toString(): String
- Definition Classes
- Publish → AnyRef → Any
- val topicName: String