Packages

t

de.upb.cs.uc4.hyperledger.connections.traits

ConnectionOperationsTrait

trait ConnectionOperationsTrait extends ConnectionTrait

Linear Supertypes
ConnectionTrait, AutoCloseable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConnectionOperationsTrait
  2. ConnectionTrait
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def approveTransaction(initiator: String, contractName: String, transactionName: String, params: String*): String

    Submits the "approveTransaction" query.

    Submits the "approveTransaction" query.

    initiator

    Information about the initiator.

    contractName

    Information about the transaction.

    transactionName

    Information about the transaction.

    params

    Information about the transaction.

    returns

    Success_state

    Annotations
    @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait])
    Exceptions thrown

    HyperledgerExceptionTrait if hlf-framework throws an exception.

    TransactionExceptionTrait if chaincode throws an exception.

  2. abstract val chaincode: String
    Definition Classes
    ConnectionTrait
  3. abstract val channel: String
    Definition Classes
    ConnectionTrait
  4. abstract def getOperationData(operationId: String): String

    Submits the "getOperation" query.

    Submits the "getOperation" query.

    operationId

    Information about the operation.

    returns

    Success_state

    Annotations
    @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait])
    Exceptions thrown

    HyperledgerExceptionTrait if hlf-framework throws an exception.

    TransactionExceptionTrait if chaincode throws an exception.

  5. abstract def getOperations(existingEnrollmentId: String, missingEnrollmentId: String, initiatorEnrollmentId: String, state: String): String

    Submits the "getOperations" query.

    Submits the "getOperations" query.

    existingEnrollmentId

    Filter for the existingApprovals List - leave empty to ignore filter

    missingEnrollmentId

    Filter for the missingApprovals List - leave empty to ignore filter

    initiatorEnrollmentId

    Filter for the initiator - leave empty to ignore filter

    state

    Filter for the operation state - leave empty to ignore filter

    returns

    Success_state

    Annotations
    @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait])
    Exceptions thrown

    HyperledgerExceptionTrait if hlf-framework throws an exception.

    TransactionExceptionTrait if chaincode throws an exception.

  6. abstract val networkDescriptionPath: Path
    Definition Classes
    ConnectionTrait
  7. abstract def rejectTransaction(operationId: String, rejectMessage: String): String

    Submits the "rejectTransaction" query.

    Submits the "rejectTransaction" query.

    operationId

    Information about the operation.

    rejectMessage

    Information about the reason to reject.

    returns

    Success_state

    Annotations
    @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait])
    Exceptions thrown

    HyperledgerExceptionTrait if hlf-framework throws an exception.

    TransactionExceptionTrait if chaincode throws an exception.

  8. abstract val username: String
    Definition Classes
    ConnectionTrait
  9. abstract val walletPath: Path
    Definition Classes
    ConnectionTrait

Concrete 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. val AFFILIATION: String
    Definition Classes
    ConnectionTrait
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def close(): Unit
    Definition Classes
    ConnectionTrait → AutoCloseable
  8. lazy val contract: ContractImpl
    Definition Classes
    ConnectionTrait
  9. final val contractName: String
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. lazy val gateway: GatewayImpl
    Definition Classes
    ConnectionTrait
  14. def getChaincodeVersion: String

    Gets the version returned by the designated contract.

    Gets the version returned by the designated contract. By default all contracts return the version of the chaincode.

    returns

    String containing versionInfo

    Definition Classes
    ConnectionTrait
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getUnsignedTransaction(proposalBytes: Array[Byte], signatureBytes: Array[Byte]): Array[Byte]
    Definition Classes
    ConnectionTrait
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def internalGetUnsignedProposal(certificate: String, affiliation: String, transactionName: String, params: String*): (String, Array[Byte])
    Attributes
    protected
    Definition Classes
    ConnectionTrait
    Annotations
    @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.NetworkExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait])
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. lazy val operationsConnection: Option[ConnectionOperationsTrait]
    Definition Classes
    ConnectionTrait
  24. def submitSignedTransaction(transactionBytes: Array[Byte], signature: Array[Byte]): (String, String)

    Submits a given approval transaction and it's corresponding "real" transaction

    Submits a given approval transaction and it's corresponding "real" transaction

    transactionBytes

    approvalTransaction bytes submitted

    signature

    the signature authenticating the user

    returns

    Tuple containing (approvalResult, realTransactionResult)

    Definition Classes
    ConnectionTrait
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wrapEvaluateTransaction(transactionName: String, params: String*): String

    Wrapper for an evaluation transaction Translates the result byte-array to a string and throws an error if said string contains an error.

    Wrapper for an evaluation transaction Translates the result byte-array to a string and throws an error if said string contains an error.

    transactionName

    transaction to call

    params

    parameters to feed into transaction

    returns

    result as a string

    Attributes
    protected
    Definition Classes
    ConnectionTrait
    Annotations
    @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait])
  31. final def wrapSubmitTransaction(transient: Boolean, transactionName: String, params: String*): String

    Wrapper for a submission transaction Translates the result byte-array to a string and throws an error if said string contains an error.

    Wrapper for a submission transaction Translates the result byte-array to a string and throws an error if said string contains an error.

    transient

    boolean flag to determine transaction to be transient or not.

    transactionName

    transaction to call

    params

    parameters to feed into transaction

    returns

    result as a string

    Attributes
    protected
    Definition Classes
    ConnectionTrait
    Annotations
    @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait])

Inherited from ConnectionTrait

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped