Pairing class

Implemented types

Constructors

Pairing(ICore core, {IPairingStore? pairings})

Properties

core ICore
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onPairingDelete → Event<PairingEvent>
final
onPairingExpire → Event<PairingEvent>
final
onPairingPing → Event<PairingEvent>
final
pairings IPairingStore?
getter/setter pair
pendingRequests Map<int, Completer>
Stores all the pending requests
getter/setter pair
routerMapRequest Map<String, Function>
---- Relay Event Router ---- ///
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activate(String topic) Future<void>
override
create() Future<CreateResponse>
override
disconnect(String topic) Future<void>
override
getPairings() List<PairingInfo>
override
getStore() IPairingStore
override
init() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pair(Uri uri, {bool activatePairing = false}) Future<PairingInfo>
override
ping(String topic) Future<void>
override
register(String method, Function f) → void
override
sendError(int id, String topic, String method, JsonRpcError error) Future<void>
override
sendRequest(String topic, String method, Map<String, dynamic> params, {int? id}) Future
override
sendResult(int id, String topic, String method, dynamic result) Future<void>
override
toString() String
A string representation of this object.
inherited
updateExpiry(String topic, int expiry) Future<void>
override
updateMetadata(String topic, PairingMetadata metadata) Future<void>
override

Operators

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