Module swim.mqtt
Package swim.mqtt

Class MqttConnStatus

  • All Implemented Interfaces:
    Debug

    public final class MqttConnStatus
    extends Object
    implements Debug
    • Field Detail

      • code

        public final int code
      • UNACCEPTABLE_PROTOCOL_VERSION

        public static final MqttConnStatus UNACCEPTABLE_PROTOCOL_VERSION
      • IDENTIFIER_REJECTED

        public static final MqttConnStatus IDENTIFIER_REJECTED
      • SERVER_UNAVAILABLE

        public static final MqttConnStatus SERVER_UNAVAILABLE
      • BAD_USERNAME_OR_PASSWORD

        public static final MqttConnStatus BAD_USERNAME_OR_PASSWORD
    • Method Detail

      • isAccepted

        public boolean isAccepted()
      • isRefused

        public boolean isRefused()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • debug

        public <T> Output<T> debug​(Output<T> output)
        Description copied from interface: Debug
        Writes a developer readable, debug-formatted string representation of this object to output.
        Specified by:
        debug in interface Debug
        Returns:
        the continuation of the output.