Class SetThrottle
Applies a throttle to the underlying conneciton
Inherited Members
Namespace: Akka.Remote.Transport
Assembly: Akka.Remote.dll
Syntax
public sealed class SetThrottle
Constructors
| Improve this Doc View SourceSetThrottle(Address, ThrottleTransportAdapter.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
| Improve this Doc View SourceAddress
The address of the remote node we'll be throttling
Declaration
public Address Address { get; }
Property Value
Type | Description |
---|---|
Address |
Direction
The direction of the throttle
Declaration
public ThrottleTransportAdapter.Direction Direction { get; }
Property Value
Type | Description |
---|---|
ThrottleTransportAdapter.Direction |
Mode
The mode of the throttle
Declaration
public ThrottleMode Mode { get; }
Property Value
Type | Description |
---|---|
ThrottleMode |
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
Operators
| Improve this Doc View SourceEquality(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 |
---|---|
Boolean |
|
Inequality(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 |
---|---|
Boolean |
|