Class ThrottleCheckingHandler
Throttling checking handler driven by ThrottleCheckingPeriod and Config parameter throttleChecking.msgType.threshold if ThrottleCheckingEnabled set to true
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 |
---|---|---|
FixMessage | message |
GetThreshold(String)
Declaration
public virtual long GetThreshold(string msgType)
Parameters
Type | Name | Description |
---|---|---|
System.String | msgType |
Returns
Type | Description |
---|---|
System.Int64 |
GetThrottlingPeriod()
Declaration
public virtual long GetThrottlingPeriod()
Returns
Type | Description |
---|---|
System.Int64 |
GetThrottlingPropertyValue()
Declaration
public virtual bool GetThrottlingPropertyValue()
Returns
Type | Description |
---|---|
System.Boolean |
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 |
---|---|---|
FixMessage | message | the incoming message |
Overrides
SetFixSession(IExtendedFixSession)
Sets the extended fix session.
Declaration
public override void SetFixSession(IExtendedFixSession fixSession)
Parameters
Type | Name | Description |
---|---|---|
IExtendedFixSession | fixSession | the extended fix session |