com.digitalasset.canton.admin.api.client.commands.LedgerApiCommands.StateService
GetActiveContracts
final case class GetActiveContracts(observer: StreamObserver[GetActiveContractsResponse], parties: Set[LfPartyId], limit: PositiveInt, templateFilter: Seq[TemplateId] = Seq.empty, activeAtOffset: Long, verbose: Boolean = true, timeout: FiniteDuration, includeCreatedEventBlob: Boolean = false)(implicit loggingContext: ErrorLoggingContext) extends BaseCommand[GetActiveContractsRequest, AutoCloseable, AutoCloseable] with SubscribeBase[GetActiveContractsRequest, GetActiveContractsResponse, GetActiveContractsResponse] with Product with Serializable
- Alphabetic
- By Inheritance
- GetActiveContracts
- Serializable
- Product
- Equals
- SubscribeBase
- BaseCommand
- GrpcAdminCommand
- AdminCommand
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new GetActiveContracts(observer: StreamObserver[GetActiveContractsResponse], parties: Set[LfPartyId], limit: PositiveInt, templateFilter: Seq[TemplateId] = Seq.empty, activeAtOffset: Long, verbose: Boolean = true, timeout: FiniteDuration, includeCreatedEventBlob: Boolean = false)(implicit loggingContext: ErrorLoggingContext)
Type Members
- type Svc = StateServiceStub
- Definition Classes
- BaseCommand → GrpcAdminCommand
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val activeAtOffset: Long
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def createRequest(): Either[String, GetActiveContractsRequest]
Create the request from configured options
Create the request from configured options
- Attributes
- protected
- Definition Classes
- GetActiveContracts → AdminCommand
- def createService(channel: ManagedChannel): StateServiceStub
Create the GRPC service to call
Create the GRPC service to call
- Definition Classes
- BaseCommand → GrpcAdminCommand
- def doRequest(service: StateServiceStub, request: GetActiveContractsRequest, rawObserver: StreamObserver[GetActiveContractsResponse]): Unit
- Definition Classes
- GetActiveContracts → SubscribeBase
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def extractResults(response: GetActiveContractsResponse): IterableOnce[GetActiveContractsResponse]
- Definition Classes
- GetActiveContracts → SubscribeBase
- def fullName: String
Command's full name used to identify command in logging and span reporting
Command's full name used to identify command in logging and span reporting
- Definition Classes
- AdminCommand
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def handleResponse(response: AutoCloseable): Either[String, AutoCloseable]
Handle the response the service has provided
Handle the response the service has provided
- Attributes
- protected
- Definition Classes
- SubscribeBase → AdminCommand
- val includeCreatedEventBlob: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val limit: PositiveInt
- implicit val loggingContext: ErrorLoggingContext
- Definition Classes
- GetActiveContracts → SubscribeBase
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val observer: StreamObserver[GetActiveContractsResponse]
- Definition Classes
- GetActiveContracts → SubscribeBase
- val parties: Set[LfPartyId]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def submitRequest(service: Svc, request: GetActiveContractsRequest): Future[AutoCloseable]
Submit the created request to our service
Submit the created request to our service
- Attributes
- protected
- Definition Classes
- SubscribeBase → GrpcAdminCommand
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val templateFilter: Seq[TemplateId]
- val timeout: FiniteDuration
- def timeoutType: TimeoutType
Determines within which time frame the request should complete
Determines within which time frame the request should complete
Some requests can run for a very long time. In this case, they should be "unbounded". For other requests, you will want to set a custom timeout apart from the global default bounded timeout
- Definition Classes
- GetActiveContracts → SubscribeBase → AdminCommand
- val verbose: Boolean
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])