类 PublishEntity


  • @Accessors
    public class PublishEntity
    extends java.lang.Object
    • 构造器概要

      构造器 
      构造器 说明
      PublishEntity​(io.netty.handler.codec.mqtt.MqttQoS qos, java.lang.String topicName, java.lang.Integer messageId, byte[] payload, java.lang.Boolean dup)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.Boolean getDup()  
      java.lang.Integer getMessageId()  
      byte[] getPayload()  
      io.netty.handler.codec.mqtt.MqttQoS getQos()  
      java.lang.String getTopicName()  
      void setDup​(java.lang.Boolean dup)  
      void setMessageId​(java.lang.Integer messageId)  
      void setPayload​(byte[] payload)  
      void setQos​(io.netty.handler.codec.mqtt.MqttQoS qos)  
      void setTopicName​(java.lang.String topicName)  
      java.lang.String toString()  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 构造器详细资料

      • PublishEntity

        public PublishEntity​(io.netty.handler.codec.mqtt.MqttQoS qos,
                             java.lang.String topicName,
                             java.lang.Integer messageId,
                             byte[] payload,
                             java.lang.Boolean dup)
    • 方法详细资料

      • getQos

        @Pure
        public io.netty.handler.codec.mqtt.MqttQoS getQos()
      • setQos

        public void setQos​(io.netty.handler.codec.mqtt.MqttQoS qos)
      • getTopicName

        @Pure
        public java.lang.String getTopicName()
      • setTopicName

        public void setTopicName​(java.lang.String topicName)
      • getMessageId

        @Pure
        public java.lang.Integer getMessageId()
      • setMessageId

        public void setMessageId​(java.lang.Integer messageId)
      • getPayload

        @Pure
        public byte[] getPayload()
      • setPayload

        public void setPayload​(byte[] payload)
      • getDup

        @Pure
        public java.lang.Boolean getDup()
      • setDup

        public void setDup​(java.lang.Boolean dup)
      • toString

        @Pure
        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object