RTMessaging<T> class

Inheritance

Constructors

RTMessaging(Channel _channel, String _channelName)

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

addCommandListener(void callback(dynamic response)) → void
addJoinListener(void callback()) Future<void>
addMessageListener(void callback(dynamic response)) → void
addUserStatusListener(void callback(UserStatusResponse? response), {void onError(String error)?}) Future<void>
addWaitingSubscription<T>(String event, void callback(T? response), {String? selector}) Future<void>
connect(void callback(T? response)) Future<void>
disconnect() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeCommandListeners() → void
removeMessageListeners() → void
removeUserStatusListeners() → void
removeWaitingSubscriptions<T>({String? subscriptionName, String? subscriptionSelector}) Future<void>
subscribeForWaiting() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited