Class CbfComponents

  • All Implemented Interfaces:
    org.bitcoindevkit.Disposable

    public final class CbfComponents
     implements Disposable
                        

    Receive a `CbfClient` and `CbfNode`.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final CbfClient getClient() Publish events to the node, like broadcasting transactions or adding scripts.
      final Unit setClient(CbfClient client) Publish events to the node, like broadcasting transactions or adding scripts.
      final CbfNode getNode() The node to run and fetch transactions for a `Wallet`.
      final Unit setNode(CbfNode node) The node to run and fetch transactions for a `Wallet`.
      Unit destroy()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getClient

         final CbfClient getClient()

        Publish events to the node, like broadcasting transactions or adding scripts.

      • setClient

         final Unit setClient(CbfClient client)

        Publish events to the node, like broadcasting transactions or adding scripts.

      • getNode

         final CbfNode getNode()

        The node to run and fetch transactions for a `Wallet`.

      • setNode

         final Unit setNode(CbfNode node)

        The node to run and fetch transactions for a `Wallet`.