MqttClient class
- Inheritance
-
- Object
- ClientHandler
- MqttClient
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
allMessagesStream(
) → Stream< PayloadWithTopic> -
override
-
connect(
{required dynamic host, required String username, required String password, String? clientId, int? port}) → Future< bool> -
override
-
connectionStateStream(
) → Stream< ConnectionState> -
override
-
disconnect(
) → void -
override
-
getClientId(
) → String? -
override
-
isConnected(
) → bool -
override
-
isConnecting(
) → bool -
override
-
joinContactEvents(
String contactId) → void -
override
-
joinMyEvents(
String myId) → void -
override
-
joinRoom(
String bareRoom) → void -
override
-
leaveContactEvents(
String contactId) → void -
override
-
leaveRoom(
String bareRoom) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAutoReconnect(
) → void -
onConnected(
) → void -
onDisconnected(
) → void -
onSubscribed(
String topic) → void -
onSubscribeFail(
String topic) → void -
onUnsubscribed(
String? topic) → void -
pong(
) → void -
sendFilePayload(
File file, String channel) → void -
override
-
sendPayload(
String payload, String channel) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited