Packages

package traffic

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class EventCostCalculator extends NamedLogging
  2. final case class TrafficConsumed(member: Member, sequencingTimestamp: CantonTimestamp, extraTrafficConsumed: NonNegativeLong, baseTrafficRemainder: NonNegativeLong, lastConsumedCost: NonNegativeLong) extends PrettyPrinting with Product with Serializable

    State of the traffic consumed by a member at a given time.

    State of the traffic consumed by a member at a given time.

    member

    Member consuming the traffic

    sequencingTimestamp

    sequencing timestamp at which this traffic consumed state is valid

    extraTrafficConsumed

    extra traffic consumed at this sequencing timestamp

    baseTrafficRemainder

    base traffic remaining at this sequencing timestamp

    lastConsumedCost

    last cost deducted from the traffic balance (base and if not enough, extra)

  3. class TrafficConsumedManager extends NamedLogging

    Holds the traffic consumed state of a member.

    Holds the traffic consumed state of a member. This is used by the sequencer to keep track of the traffic consumed by its members, as well as by the members themselves in the TrafficStateController to keep track of their own traffic consumed.

  4. class TrafficControlProcessor extends UnsignedProtocolEventHandler with NamedLogging
  5. final case class TrafficPurchased(member: Member, serial: PositiveInt, extraTrafficPurchased: NonNegativeLong, sequencingTimestamp: CantonTimestamp) extends PrettyPrinting with Product with Serializable

    Total traffic purchased for a member valid at a specific timestamp

    Total traffic purchased for a member valid at a specific timestamp

    member

    Member to which the balance belongs

    serial

    Serial number of the balance

    extraTrafficPurchased

    Traffic purchased value

    sequencingTimestamp

    Timestamp at which the purchase event was sequenced

  6. class TrafficPurchasedSubmissionHandler extends NamedLogging

    Utility class to send traffic purchased entry requests protocol messages to be sequenced.

    Utility class to send traffic purchased entry requests protocol messages to be sequenced. This is abstracted out so that it can be re-used in any node's Admin API.

  7. final case class TrafficReceipt(consumedCost: NonNegativeLong, extraTrafficConsumed: NonNegativeLong, baseTrafficRemainder: NonNegativeLong) extends PrettyPrinting with Product with Serializable

    Traffic receipt sent with the deliver / deliver error receipt to the sender.

    Traffic receipt sent with the deliver / deliver error receipt to the sender. Contains updated traffic information after the event has been sequenced.

    consumedCost

    cost consumed by the event

    extraTrafficConsumed

    extra traffic consumed at this sequencing timestamp

    baseTrafficRemainder

    base traffic remaining at this sequencing timestamp

  8. class TrafficStateController extends NamedLogging

    Maintains the current traffic state up to date for a given synchronizer.

Ungrouped