-
- All Implemented Interfaces:
-
io.grpc.BindableService
public abstract class CompactTxStreamerGrpcKt.CompactTxStreamerCoroutineImplBase extends AbstractCoroutineServerImplSkeletal implementation of the cash.z.wallet.sdk.rpc.CompactTxStreamer service based on Kotlin coroutines.
-
-
Field Summary
Fields Modifier and Type Field Description private final CoroutineContextcontext
-
Constructor Summary
Constructors Constructor Description CompactTxStreamerGrpcKt.CompactTxStreamerCoroutineImplBase(CoroutineContext coroutineContext)
-
Method Summary
Modifier and Type Method Description CoroutineContextgetContext()Service.BlockIDgetLatestBlock(Service.ChainSpec request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetLatestBlock. CompactFormats.CompactBlockgetBlock(Service.BlockID request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetBlock. CompactFormats.CompactBlockgetBlockNullifiers(Service.BlockID request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetBlockNullifiers. Flow<CompactFormats.CompactBlock>getBlockRange(Service.BlockRange request)Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetBlockRange. Flow<CompactFormats.CompactBlock>getBlockRangeNullifiers(Service.BlockRange request)Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetBlockRangeNullifiers. Service.RawTransactiongetTransaction(Service.TxFilter request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTransaction. Service.SendResponsesendTransaction(Service.RawTransaction request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.SendTransaction. Flow<Service.RawTransaction>getTaddressTxids(Service.TransparentAddressBlockFilter request)Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTaddressTxids. Service.BalancegetTaddressBalance(Service.AddressList request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTaddressBalance. Service.BalancegetTaddressBalanceStream(Flow<Service.Address> requests)Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTaddressBalanceStream. Flow<CompactFormats.CompactTx>getMempoolTx(Service.Exclude request)Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetMempoolTx. Flow<Service.RawTransaction>getMempoolStream(Service.Empty request)Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetMempoolStream. Service.TreeStategetTreeState(Service.BlockID request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTreeState. Service.TreeStategetLatestTreeState(Service.Empty request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetLatestTreeState. Flow<Service.SubtreeRoot>getSubtreeRoots(Service.GetSubtreeRootsArg request)Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetSubtreeRoots. Service.GetAddressUtxosReplyListgetAddressUtxos(Service.GetAddressUtxosArg request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetAddressUtxos. Flow<Service.GetAddressUtxosReply>getAddressUtxosStream(Service.GetAddressUtxosArg request)Returns a Flow of responses to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetAddressUtxosStream. Service.LightdInfogetLightdInfo(Service.Empty request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.GetLightdInfo. Service.PingResponseping(Service.Duration request)Returns the response to an RPC for cash.z.wallet.sdk.rpc.CompactTxStreamer.Ping. final ServerServiceDefinitionbindService()-
-
Constructor Detail
-
CompactTxStreamerGrpcKt.CompactTxStreamerCoroutineImplBase
CompactTxStreamerGrpcKt.CompactTxStreamerCoroutineImplBase(CoroutineContext coroutineContext)
-
-
Method Detail
-
getContext
CoroutineContext getContext()
-
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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith the exception as a cause.- Parameters:
request- The request from the client.
-
bindService
final ServerServiceDefinition bindService()
-
-
-
-