Relayer class

Implemented types
Mixed-in types

Constructors

Relayer({required ICore core, Logger? logger, String? relayUrl, String? projectId})

Properties

connected bool
no setteroverride
connecting bool
no setteroverride
core ICore
final
events EventEmitter<String>
final
hashCode int
The hash code for this object.
no setterinherited
logger Logger
final
messages IMessageTracker
final
name String
final
projectId String?
final
protocol String
final
provider IJsonRpcProvider
no setteroverride
publisher IPublisher
latefinaloverride-getter
relayUrl String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriber ISubscriber
latefinaloverride-getter
transportExplicitlyClosed bool
getter/setter pairoverride-getter
version int
final

Methods

init() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
off(Listener<String>? listener) → void
inherited
on(String event, EventCallback callback) Listener<String>
inherited
once(String event, EventCallback callback) Listener<String>
inherited
publish({required String topic, required String message, RelayerPublishOptions? opts}) Future<void>
override
removeListener(String eventName, EventCallback callback) → void
inherited
subscribe({required String topic, RelayerSubscribeOptions? opts}) Future<String>
override
toString() String
A string representation of this object.
inherited
transportClose() Future<void>
override
transportOpen({String? relayUrl}) Future<void>
override
unsubscribe({required String topic, RelayerUnsubscribeOptions? opts}) Future<void>
override

Operators

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