Search Results for

    Show / Hide Table of Contents

    Class SetThrottle

    Applies a throttle to the underlying conneciton

    Inheritance
    object
    SetThrottle
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Remote.Transport
    Assembly: Akka.Remote.dll
    Syntax
    public sealed class SetThrottle

    Constructors

    | Edit this page View Source

    SetThrottle(Address, Direction, ThrottleMode)

    Creates a new SetThrottle message.

    Declaration
    public SetThrottle(Address address, ThrottleTransportAdapter.Direction direction, ThrottleMode mode)
    Parameters
    Type Name Description
    Address address

    The address of the throttle.

    ThrottleTransportAdapter.Direction direction

    The direction of the throttle.

    ThrottleMode mode

    The mode of the throttle.

    Properties

    | Edit this page View Source

    Address

    The address of the remote node we'll be throttling

    Declaration
    public Address Address { get; }
    Property Value
    Type Description
    Address
    | Edit this page View Source

    Direction

    The direction of the throttle

    Declaration
    public ThrottleTransportAdapter.Direction Direction { get; }
    Property Value
    Type Description
    ThrottleTransportAdapter.Direction
    | Edit this page View Source

    Mode

    The mode of the throttle

    Declaration
    public ThrottleMode Mode { get; }
    Property Value
    Type Description
    ThrottleMode

    Methods

    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Operators

    | Edit this page View Source

    operator ==(SetThrottle, SetThrottle)

    Compares two specified SetThrottle for equality.

    Declaration
    public static bool operator ==(SetThrottle left, SetThrottle right)
    Parameters
    Type Name Description
    SetThrottle left

    The first SetThrottle used for comparison

    SetThrottle right

    The second SetThrottle used for comparison

    Returns
    Type Description
    bool

    true if both SetThrottles are equal; otherwise false

    | Edit this page View Source

    operator !=(SetThrottle, SetThrottle)

    Compares two specified SetThrottle for inequality.

    Declaration
    public static bool operator !=(SetThrottle left, SetThrottle right)
    Parameters
    Type Name Description
    SetThrottle left

    The first SetThrottle used for comparison

    SetThrottle right

    The second SetThrottle used for comparison

    Returns
    Type Description
    bool

    true if both SetThrottles are not equal; otherwise false

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET