Package 

Class CompactTxStreamerGrpcKt.CompactTxStreamerCoroutineImplBase

    • Constructor Detail

      • CompactTxStreamerGrpcKt.CompactTxStreamerCoroutineImplBase

        CompactTxStreamerGrpcKt.CompactTxStreamerCoroutineImplBase(CoroutineContext coroutineContext)
    • Method Detail

      • getLatestBlock

         Service.BlockID getLatestBlock(Service.ChainSpec request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetLatestBlock.

        If this method fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getBlock

         CompactFormats.CompactBlock getBlock(Service.BlockID request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetBlock.

        If this method fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getBlockNullifiers

         CompactFormats.CompactBlock getBlockNullifiers(Service.BlockID request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetBlockNullifiers.

        If this method fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getBlockRange

         Flow<CompactFormats.CompactBlock> getBlockRange(Service.BlockRange request)

        Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetBlockRange.

        If creating or collecting the returned flow fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If it fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If creating or collecting the returned flow fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getBlockRangeNullifiers

         Flow<CompactFormats.CompactBlock> getBlockRangeNullifiers(Service.BlockRange request)

        Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetBlockRangeNullifiers.

        If creating or collecting the returned flow fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If it fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If creating or collecting the returned flow fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getTransaction

         Service.RawTransaction getTransaction(Service.TxFilter request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTransaction.

        If this method fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • sendTransaction

         Service.SendResponse sendTransaction(Service.RawTransaction request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.SendTransaction.

        If this method fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getTaddressTxids

         Flow<Service.RawTransaction> getTaddressTxids(Service.TransparentAddressBlockFilter request)

        Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTaddressTxids.

        If creating or collecting the returned flow fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If it fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If creating or collecting the returned flow fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getTaddressBalance

         Service.Balance getTaddressBalance(Service.AddressList request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTaddressBalance.

        If this method fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getTaddressBalanceStream

         Service.Balance getTaddressBalanceStream(Flow<Service.Address> requests)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTaddressBalanceStream.

        If this method fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        requests - A Flow of requests from the client.
      • getMempoolTx

         Flow<CompactFormats.CompactTx> getMempoolTx(Service.Exclude request)

        Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetMempoolTx.

        If creating or collecting the returned flow fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If it fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If creating or collecting the returned flow fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getMempoolStream

         Flow<Service.RawTransaction> getMempoolStream(Service.Empty request)

        Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetMempoolStream.

        If creating or collecting the returned flow fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If it fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If creating or collecting the returned flow fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getTreeState

         Service.TreeState getTreeState(Service.BlockID request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTreeState.

        If this method fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getLatestTreeState

         Service.TreeState getLatestTreeState(Service.Empty request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetLatestTreeState.

        If this method fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getSubtreeRoots

         Flow<Service.SubtreeRoot> getSubtreeRoots(Service.GetSubtreeRootsArg request)

        Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetSubtreeRoots.

        If creating or collecting the returned flow fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If it fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If creating or collecting the returned flow fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getAddressUtxos

         Service.GetAddressUtxosReplyList getAddressUtxos(Service.GetAddressUtxosArg request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetAddressUtxos.

        If this method fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getAddressUtxosStream

         Flow<Service.GetAddressUtxosReply> getAddressUtxosStream(Service.GetAddressUtxosArg request)

        Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetAddressUtxosStream.

        If creating or collecting the returned flow fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If it fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If creating or collecting the returned flow fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • getLightdInfo

         Service.LightdInfo getLightdInfo(Service.Empty request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetLightdInfo.

        If this method fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • ping

         Service.PingResponse ping(Service.Duration request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.Ping.

        If this method fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • bindService

         final ServerServiceDefinition bindService()