Class UpdateServiceGrpc.UpdateServiceImplBase

java.lang.Object
com.daml.ledger.api.v2.UpdateServiceGrpc.UpdateServiceImplBase
All Implemented Interfaces:
UpdateServiceGrpc.AsyncService, io.grpc.BindableService
Enclosing class:
UpdateServiceGrpc

public abstract static class UpdateServiceGrpc.UpdateServiceImplBase extends Object implements io.grpc.BindableService, UpdateServiceGrpc.AsyncService
Base class for the server implementation of the service UpdateService.
 Allows clients to read updates (transactions, (un)assignments, topology events) from the ledger.
 ``GetUpdates`` and ``GetUpdateTrees`` provide a comprehensive stream of updates/changes
 which happened on the virtual shared ledger. These streams are indexed with ledger
 offsets, which are strictly increasing.
 The virtual shared ledger consist of changes happening on multiple synchronizers which are
 connected to the serving participant. Each update belongs to one synchronizer, this is
 provided in the result (the ``synchronizer_id`` field in ``Transaction`` and ``TransactionTree``
 for transactions, the ``source`` field in ``UnassignedEvent`` and the ``target`` field in ``AssignedEvent``).
 Consumers can rely on strong causal guarantees on the virtual shared ledger for a single
 synchronizer: updates which have greater offsets are happened after than updates with smaller
 offsets for the same synchronizer. Across different synchronizers this is not guaranteed.
 
  • Constructor Details

    • UpdateServiceImplBase

      public UpdateServiceImplBase()
  • Method Details

    • bindService

      public final io.grpc.ServerServiceDefinition bindService()
      Specified by:
      bindService in interface io.grpc.BindableService