c

com.digitalasset.canton.participant.admin

DarDistributionService

class DarDistributionService extends AdminWorkflowService with DarDistribution with NamedLogging

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DarDistributionService
  2. NamedLogging
  3. DarDistribution
  4. AdminWorkflowService
  5. AutoCloseable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DarDistributionService(connection: LedgerSubmit, darValidation: (ByteString) => Either[String, Unit], adminParty: Party, darService: DarService, hashOps: HashOps, shareRequestStore: ShareRequestStore = new InMemoryShareRequestStore, shareOfferStore: ShareOfferStore = new InMemoryShareOfferStore, whitelistStore: WhitelistStore = new InMemoryWhitelistStore, isActive: => Boolean, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def accept(shareId: ContractId[ShareDar])(implicit traceContext: TraceContext): Future[Either[AcceptRejectError, Unit]]

    Accept a previously received share request

    Accept a previously received share request

    Definition Classes
    DarDistributionServiceDarDistribution
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def close(): Unit
    Definition Classes
    DarDistributionService → AutoCloseable
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def listOffers(): Future[Seq[Contract[ShareDar]]]

    List all pending offers to receive a DAR

    List all pending offers to receive a DAR

    Definition Classes
    DarDistributionServiceDarDistribution
  14. def listRequests(): Future[Seq[Contract[ShareDar]]]

    List all pending requests to share a DAR with other participants

    List all pending requests to share a DAR with other participants

    Definition Classes
    DarDistributionServiceDarDistribution
  15. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  16. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    DarDistributionServiceNamedLogging
  17. implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def reject(shareId: ContractId[ShareDar], reason: String)(implicit traceContext: TraceContext): Future[Either[AcceptRejectError, Unit]]

    Reject a previously received share request

    Reject a previously received share request

    Definition Classes
    DarDistributionServiceDarDistribution
  23. def share(hash: Hash, recipient: Party)(implicit traceContext: TraceContext): Future[Either[ShareError, Unit]]

    Share a DAR identified by its hash to the given recipient party.

    Share a DAR identified by its hash to the given recipient party.

    recipient

    Recipient party to receive the share request. This only makes sense to the be a admin party of another participant but is not enforced.

    returns

    Error or Unit

    Definition Classes
    DarDistributionServiceDarDistribution
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. def whitelistAdd(owner: Party): Future[Unit]

    Whitelist a party so DARs are automatically installed without a manual approval of the offer

    Whitelist a party so DARs are automatically installed without a manual approval of the offer

    Definition Classes
    DarDistributionServiceDarDistribution
  30. def whitelistList(): Future[Seq[Party]]

    List all currently whitelisted parties

    List all currently whitelisted parties

    Definition Classes
    DarDistributionServiceDarDistribution
  31. def whitelistRemove(owner: Party): Future[Unit]

    Remove a party from the whitelist.

    Remove a party from the whitelist. Will not error if the given party is not whitelisted.

    Definition Classes
    DarDistributionServiceDarDistribution

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from NamedLogging

Inherited from DarDistribution

Inherited from AdminWorkflowService

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped