TransactionUpdate
sealed class TransactionUpdate : Disposable
An item delivered by a subscription.
A subscription recovers from a lost connection or from falling behind the server on its own, so those interruptions are delivered as updates rather than raised as errors: a caller that does not care about the gap can ignore them and keep reading.
Inheritors
| Transaction |
| Interrupted |
Types
| Name | Summary |
|---|---|
| Interrupted | data class Interrupted(val message: String) : TransactionUpdate Delivery was interrupted and has recovered — the connection dropped, or the server dropped payloads because this client could not keep up. Items in the gap may have been missed. |
| Transaction | data class Transaction(val transaction: SignedTransaction) : TransactionUpdate |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
Interrupted
data class Interrupted(val message: String) : TransactionUpdate
Delivery was interrupted and has recovered — the connection dropped, or the server dropped payloads because this client could not keep up. Items in the gap may have been missed.
Constructors
| Interrupted | constructor(message: String) |
Properties
| Name | Summary |
|---|---|
| message | val message: String |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
Transaction
data class Transaction(val transaction: SignedTransaction) : TransactionUpdate
Constructors
| Transaction | constructor(transaction: SignedTransaction) |
Properties
| Name | Summary |
|---|---|
| transaction | val transaction: SignedTransaction |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |