IRelayClient class abstract

Implementers

Constructors

IRelayClient()

Properties

hashCode int
The hash code for this object.
no setterinherited
onRelayClientConnect → Event<EventArgs>
final
onRelayClientDisconnect → Event<EventArgs>
final
onRelayClientError → Event<ErrorEvent>
final
onRelayClientMessage → Event<MessageEvent>
Relay Client Events
final
onSubscriptionCreated → Event<SubscriptionEvent>
JSON RPC Events Subscriber Events
final
onSubscriptionDeleted → Event<SubscriptionDeletionEvent>
final
onSubscriptionResubscribed → Event<EventArgs>
final
onSubscriptionSync → Event<EventArgs>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect(String? relayUrl) Future<void>
disconnect() Future<void>
init() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish(String topic, String message, int ttl, {bool? prompt, int? tag}) Future<void>
subscribe(String topic) Future<String>
toString() String
A string representation of this object.
inherited
unsubscribe(String topic) Future<void>

Operators

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