Package 

Class DarksideStreamerGrpcKt.DarksideStreamerCoroutineImplBase

    • Constructor Detail

      • DarksideStreamerGrpcKt.DarksideStreamerCoroutineImplBase

        DarksideStreamerGrpcKt.DarksideStreamerCoroutineImplBase(CoroutineContext coroutineContext)
    • Method Detail

      • reset

         Service.Empty reset(Darkside.DarksideMetaState request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.Reset.

        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.
      • stageBlocksStream

         Service.Empty stageBlocksStream(Flow<Darkside.DarksideBlock> requests)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.StageBlocksStream.

        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.
      • stageBlocks

         Service.Empty stageBlocks(Darkside.DarksideBlocksURL request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.StageBlocks.

        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.
      • stageBlocksCreate

         Service.Empty stageBlocksCreate(Darkside.DarksideEmptyBlocks request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.StageBlocksCreate.

        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.
      • stageTransactionsStream

         Service.Empty stageTransactionsStream(Flow<Service.RawTransaction> requests)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.StageTransactionsStream.

        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.
      • stageTransactions

         Service.Empty stageTransactions(Darkside.DarksideTransactionsURL request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.StageTransactions.

        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.
      • applyStaged

         Service.Empty applyStaged(Darkside.DarksideHeight request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.ApplyStaged.

        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.
      • getIncomingTransactions

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

        Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.GetIncomingTransactions.

        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.
      • clearIncomingTransactions

         Service.Empty clearIncomingTransactions(Service.Empty request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.ClearIncomingTransactions.

        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.
      • addAddressUtxo

         Service.Empty addAddressUtxo(Service.GetAddressUtxosReply request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.AddAddressUtxo.

        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.
      • clearAddressUtxo

         Service.Empty clearAddressUtxo(Service.Empty request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.ClearAddressUtxo.

        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.
      • addTreeState

         Service.Empty addTreeState(Service.TreeState request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.AddTreeState.

        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.
      • removeTreeState

         Service.Empty removeTreeState(Service.BlockID request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.RemoveTreeState.

        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.
      • clearAllTreeStates

         Service.Empty clearAllTreeStates(Service.Empty request)

        Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.ClearAllTreeStates.

        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()