Module: MQTT
- Defined in:
- lib/mqtt/client.rb,
lib/mqtt.rb,
lib/mqtt/proxy.rb,
lib/mqtt/packet.rb,
lib/mqtt/version.rb,
lib/mqtt/sn/packet.rb
Overview
Client class for talking to an MQTT server
Defined Under Namespace
Modules: SN Classes: Client, ConnectionClosedException, Exception, KeepAliveTimeout, NotConnectedException, Packet, ProtocolException, Proxy, ResendLimitExceededException
Constant Summary collapse
- DEFAULT_PORT =
Default port number for unencrypted connections
1883
- DEFAULT_SSL_PORT =
Default port number for TLS/SSL encrypted connections
8883
- PACKET_TYPES =
An enumeration of the MQTT packet types
[ nil, MQTT::Packet::Connect, MQTT::Packet::Connack, MQTT::Packet::Publish, MQTT::Packet::Puback, MQTT::Packet::Pubrec, MQTT::Packet::Pubrel, MQTT::Packet::Pubcomp, MQTT::Packet::Subscribe, MQTT::Packet::Suback, MQTT::Packet::Unsubscribe, MQTT::Packet::Unsuback, MQTT::Packet::Pingreq, MQTT::Packet::Pingresp, MQTT::Packet::Disconnect, nil ].freeze
- VERSION =
The version number of the MQTT gem
'1.0.3'