-
- All Implemented Interfaces:
-
io.grpc.BindableService
public abstract class DarksideStreamerGrpcKt.DarksideStreamerCoroutineImplBase extends AbstractCoroutineServerImplSkeletal implementation of the cash.z.wallet.sdk.rpc.DarksideStreamer service based on Kotlin coroutines.
-
-
Field Summary
Fields Modifier and Type Field Description private final CoroutineContextcontext
-
Constructor Summary
Constructors Constructor Description DarksideStreamerGrpcKt.DarksideStreamerCoroutineImplBase(CoroutineContext coroutineContext)
-
Method Summary
Modifier and Type Method Description CoroutineContextgetContext()Service.Emptyreset(Darkside.DarksideMetaState request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.Reset. Service.EmptystageBlocksStream(Flow<Darkside.DarksideBlock> requests)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.StageBlocksStream. Service.EmptystageBlocks(Darkside.DarksideBlocksURL request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.StageBlocks. Service.EmptystageBlocksCreate(Darkside.DarksideEmptyBlocks request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.StageBlocksCreate. Service.EmptystageTransactionsStream(Flow<Service.RawTransaction> requests)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.StageTransactionsStream. Service.EmptystageTransactions(Darkside.DarksideTransactionsURL request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.StageTransactions. Service.EmptyapplyStaged(Darkside.DarksideHeight request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.ApplyStaged. Flow<Service.RawTransaction>getIncomingTransactions(Service.Empty request)Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.GetIncomingTransactions. Service.EmptyclearIncomingTransactions(Service.Empty request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.ClearIncomingTransactions. Service.EmptyaddAddressUtxo(Service.GetAddressUtxosReply request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.AddAddressUtxo. Service.EmptyclearAddressUtxo(Service.Empty request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.ClearAddressUtxo. Service.EmptyaddTreeState(Service.TreeState request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.AddTreeState. Service.EmptyremoveTreeState(Service.BlockID request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.RemoveTreeState. Service.EmptyclearAllTreeStates(Service.Empty request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.DarksideStreamer.ClearAllTreeStates. final ServerServiceDefinitionbindService()-
-
Constructor Detail
-
DarksideStreamerGrpcKt.DarksideStreamerCoroutineImplBase
DarksideStreamerGrpcKt.DarksideStreamerCoroutineImplBase(CoroutineContext coroutineContext)
-
-
Method Detail
-
getContext
CoroutineContext getContext()
-
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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith the exception as a cause.- Parameters:
request- The request from the client.
-
bindService
final ServerServiceDefinition bindService()
-
-
-
-