IRelayClient class abstract
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConnected → bool
-
Returns true if the client is connected to a relay server
no setter
-
onLinkModeMessage
→ Event<
MessageEvent> -
LinkMode Events
final
-
onRelayClientConnect
→ Event<
EventArgs> -
Relay Client Events
final
-
onRelayClientDisconnect
→ Event<
EventArgs> -
final
-
onRelayClientError
→ Event<
ErrorEvent> -
final
-
onRelayClientMessage
→ Event<
MessageEvent> -
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> -
handleLinkModeMessage(
String topic, String message) → Future< bool> -
init(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publish(
{required String topic, required String message, required int ttl, required int tag}) → Future< void> -
subscribe(
{required String topic}) → Future< String> -
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribe(
{required String topic}) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited