Class ThrottleCheckingHandler
Throttling checking handler driven by Throttle
Inheritance
System.Object
ThrottleCheckingHandler
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.FixEngine.Session.MessageHandler.Global
Assembly: FixAntenna.Core.dll
Syntax
public class ThrottleCheckingHandler : AbstractGlobalMessageHandler, ISessionMessageHandler, IFixMessageListener
Constructors
ThrottleCheckingHandler()
Declaration
public ThrottleCheckingHandler()
Methods
CheckThrottling(FixMessage)
Declaration
public virtual void CheckThrottling(FixMessage message)
Parameters
Type | Name | Description |
---|---|---|
Fix |
message |
GetThreshold(String)
Declaration
public virtual long GetThreshold(string msgType)
Parameters
Type | Name | Description |
---|---|---|
System. |
msgType |
Returns
Type | Description |
---|---|
System. |
GetThrottlingPeriod()
Declaration
public virtual long GetThrottlingPeriod()
Returns
Type | Description |
---|---|
System. |
GetThrottlingPropertyValue()
Declaration
public virtual bool GetThrottlingPropertyValue()
Returns
Type | Description |
---|---|
System. |
OnNewMessage(FixMessage)
This method is invoked every time when FIX Engine receives application message.
Declaration
public override void OnNewMessage(FixMessage message)
Parameters
Type | Name | Description |
---|---|---|
Fix |
message | the incoming message |
Overrides
SetFixSession(IExtendedFixSession)
Sets the extended fix session.
Declaration
public override void SetFixSession(IExtendedFixSession fixSession)
Parameters
Type | Name | Description |
---|---|---|
IExtended |
fixSession | the extended fix session |