HavenoChannel class

A singleton class to manage gRPC connections and client instances for interacting with the Haveno daemon.

Constructors

HavenoChannel()
Factory constructor to provide a singleton instance of HavenoChannel.
factory

Properties

accountClient ↔ AccountClient?
getter/setter pair
disputeAgentsClient ↔ DisputeAgentsClient?
getter/setter pair
disputesClient ↔ DisputesClient?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
helpClient ↔ HelpClient?
getter/setter pair
isConnected bool
Getter to check if the channel is currently connected.
no setter
notificationsClient ↔ NotificationsClient?
getter/setter pair
offersClient ↔ OffersClient?
getter/setter pair
onConnected Future<void>
A future that completes when the connection is established.
no setter
paymentAccountsClient ↔ PaymentAccountsClient?
getter/setter pair
priceClient ↔ PriceClient?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shutdownServerClient ↔ ShutdownServerClient?
getter/setter pair
tradesClient ↔ TradesClient?
getter/setter pair
tradeStatisticsClient ↔ GetTradeStatisticsClient?
getter/setter pair
versionClient ↔ GetVersionClient?
getter/setter pair
walletsClient ↔ WalletsClient?
getter/setter pair
xmrConnectionsClient ↔ XmrConnectionsClient?
getter/setter pair
xmrNodeClient ↔ XmrNodeClient?
getter/setter pair

Methods

connect(String host, int port, String password) Future<void>
Asynchronous method to connect to the Haveno daemon.
disconnect() Future<void>
Gracefully disconnects from the Haveno daemon by shutting down the channel.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shutdown() Future<void>
Disconnects from the Haveno daemon and shuts down the gRPC channel.
toString() String
A string representation of this object.
inherited

Operators

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