Packages

final case class SubmissionRequest(sender: String, messageId: String, batch: Option[CompressedBatch], maxSequencingTime: Long, topologyTimestamp: Option[Long], aggregationRule: Option[AggregationRule], submissionCost: Option[SequencingSubmissionCost]) extends GeneratedMessage with Updatable[SubmissionRequest] with Product with Serializable

Messages used for synchronization between sequencer nodes

sender

Sender of the request. This request must be wrapped in a SignedContent and the signature therein must validate under one of the sender's public keys. The request metadata must contain a valid authentication token belonging to the sender. (Details in SequencerAuthenticationServerInterceptor.) TARGET STATE: The sender must be authorized (cf. TopologySnapshot.isMemberKnown) CURRENT STATE: The sender authorization check might have a few gaps (e.g., see MemberAuthenticationService.isActive) and/or may use the wrong snapshot.

messageId

Will be included in the receipt of the request. The sender should not reuse a message_id until max_sequencing_time, because otherwise it will be unable to correlate receipts with requests.

batch

The payload, mandatory At most one recipient of an envelope may be (a) a mediator, (b) a mediator group, or (c) all synchronizer members.

maxSequencingTime

Maximum sequencing time for the request. If the request can't be sequenced until the specified time, the sequencer will reject it. After max_sequencing_time, no event corresponding to the request will be emitted. in microseconds of UTC time since Unix epoch

topologyTimestamp

Optional timestamp (in microseconds of UTC time since Unix epoch) of topology snapshot to be used for processing the request (e.g., validation, signing, resolving group addresses). If defined, it must meet the following conditions: (1) it must be before or at the sequencing timestamp, (2) it must be by at most DynamicSynchronizerParameters.sequencerTopologyTimestampTolerance before the sequencing timestamp, where the DynamicSynchronizerParameters are taken from the topology state at topology_timestamp, (3) the sequencer must have signing keys registered in the topology snapshot. If defined and invalid, the request is rejected. If undefined or invalid, the topology snapshot at sequencing time will be used instead.

aggregationRule

Optional rule used to aggregate requests.

submissionCost

Optional submission cost computed by the sender. Must be provided if traffic control is enabled on the receiving synchronizer.

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubmissionRequest
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SubmissionRequest(sender: String, messageId: String, batch: Option[CompressedBatch], maxSequencingTime: Long, topologyTimestamp: Option[Long], aggregationRule: Option[AggregationRule], submissionCost: Option[SequencingSubmissionCost])

    sender

    Sender of the request. This request must be wrapped in a SignedContent and the signature therein must validate under one of the sender's public keys. The request metadata must contain a valid authentication token belonging to the sender. (Details in SequencerAuthenticationServerInterceptor.) TARGET STATE: The sender must be authorized (cf. TopologySnapshot.isMemberKnown) CURRENT STATE: The sender authorization check might have a few gaps (e.g., see MemberAuthenticationService.isActive) and/or may use the wrong snapshot.

    messageId

    Will be included in the receipt of the request. The sender should not reuse a message_id until max_sequencing_time, because otherwise it will be unable to correlate receipts with requests.

    batch

    The payload, mandatory At most one recipient of an envelope may be (a) a mediator, (b) a mediator group, or (c) all synchronizer members.

    maxSequencingTime

    Maximum sequencing time for the request. If the request can't be sequenced until the specified time, the sequencer will reject it. After max_sequencing_time, no event corresponding to the request will be emitted. in microseconds of UTC time since Unix epoch

    topologyTimestamp

    Optional timestamp (in microseconds of UTC time since Unix epoch) of topology snapshot to be used for processing the request (e.g., validation, signing, resolving group addresses). If defined, it must meet the following conditions: (1) it must be before or at the sequencing timestamp, (2) it must be by at most DynamicSynchronizerParameters.sequencerTopologyTimestampTolerance before the sequencing timestamp, where the DynamicSynchronizerParameters are taken from the topology state at topology_timestamp, (3) the sequencer must have signing keys registered in the topology snapshot. If defined and invalid, the request is rejected. If undefined or invalid, the topology snapshot at sequencing time will be used instead.

    aggregationRule

    Optional rule used to aggregate requests.

    submissionCost

    Optional submission cost computed by the sender. Must be provided if traffic control is enabled on the receiving synchronizer.

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 aggregationRule: Option[AggregationRule]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val batch: Option[CompressedBatch]
  7. def clearAggregationRule: SubmissionRequest
  8. def clearBatch: SubmissionRequest
  9. def clearSubmissionCost: SubmissionRequest
  10. def clearTopologyTimestamp: SubmissionRequest
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  12. def companion: SubmissionRequest.type
    Definition Classes
    SubmissionRequest → GeneratedMessage
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def getAggregationRule: AggregationRule
  15. def getBatch: CompressedBatch
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  17. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    SubmissionRequest → GeneratedMessage
  18. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    SubmissionRequest → GeneratedMessage
  19. def getSubmissionCost: SequencingSubmissionCost
  20. def getTopologyTimestamp: Long
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. val maxSequencingTime: Long
  23. val messageId: String
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. val sender: String
  29. def serializedSize: Int
    Definition Classes
    SubmissionRequest → GeneratedMessage
  30. val submissionCost: Option[SequencingSubmissionCost]
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  33. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  34. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  35. def toProtoString: String
    Definition Classes
    SubmissionRequest → GeneratedMessage
  36. val topologyTimestamp: Option[Long]
  37. def update(ms: (Lens[SubmissionRequest, SubmissionRequest]) => Mutation[SubmissionRequest]*): SubmissionRequest
    Definition Classes
    Updatable
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. def withAggregationRule(__v: AggregationRule): SubmissionRequest
  42. def withBatch(__v: CompressedBatch): SubmissionRequest
  43. def withMaxSequencingTime(__v: Long): SubmissionRequest
  44. def withMessageId(__v: String): SubmissionRequest
  45. def withSender(__v: String): SubmissionRequest
  46. def withSubmissionCost(__v: SequencingSubmissionCost): SubmissionRequest
  47. def withTopologyTimestamp(__v: Long): SubmissionRequest
  48. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  49. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    SubmissionRequest → GeneratedMessage
  50. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

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

    (Since version 9)

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped