trait DarDistribution extends AnyRef
Dar distribution operations
- Alphabetic
- By Inheritance
- DarDistribution
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def accept(id: ContractId[ShareDar])(implicit traceContext: TraceContext): Future[Either[AcceptRejectError, Unit]]
Accept a previously received share request
- abstract def listOffers(): Future[Seq[Contract[ShareDar]]]
List all pending offers to receive a DAR
- abstract def listRequests(): Future[Seq[Contract[ShareDar]]]
List all pending requests to share a DAR with other participants
- abstract def reject(id: ContractId[ShareDar], reason: String)(implicit traceContext: TraceContext): Future[Either[AcceptRejectError, Unit]]
Reject a previously received share request
- abstract def share(darHash: 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.
- darHash
Hash of a DAR already installed in this participant. The hash can be found with the admin command dars.list().
- 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
- abstract def whitelistAdd(owner: Party): Future[Unit]
Whitelist a party so DARs are automatically installed without a manual approval of the offer
- abstract def whitelistList(): Future[Seq[Party]]
List all currently whitelisted parties
- abstract 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.
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])