OnixS Eurex ETI Handler C++ library  9.22.0
API documentation
SessionListener Class Reference

#include <OnixS/Eurex/Trading/SessionListener.h>

Public Member Functions

virtual void onMessageSending (UInt32 msgSeqNum, const Message &message)
 
virtual void onReceivedBytes (const char *bytes, size_t size)
 
virtual void onThrottleSettingsChanged (UInt64 throttleTimeInterval, UInt32 throttleNoMsgs, UInt32 throttleDisconnectLimit)
 
virtual void onThrottleDelayStarted (UInt32 delayInMilliseconds)
 
virtual void onThrottleDelayFinished ()
 

Protected Member Functions

virtual ~SessionListener ()
 

Detailed Description

Definition at line 32 of file SessionListener.h.

Constructor & Destructor Documentation

~SessionListener ( )
inlineprotectedvirtual

Disables public delete operator in the interface class.

Definition at line 82 of file SessionListener.h.

Member Function Documentation

void onMessageSending ( UInt32  msgSeqNum,
const Message message 
)
inlinevirtual

Implement this member to get notifications immediately before message sending.

Note
This callback is called just before writing message data to a socket and immediately after throttling delay (if throttling is needed).
Parameters
msgSeqNumMessage sequence number.
messageMessage.

Definition at line 72 of file SessionListener.h.

void onReceivedBytes ( const char *  bytes,
size_t  size 
)
inlinevirtual

Implement this member to get notifications as soon as bytes are received from the wire.

Parameters
bytesBytes to be sent.
sizeTotal number of bytes.

Definition at line 74 of file SessionListener.h.

void onThrottleDelayFinished ( )
inlinevirtual

Implement this member to get notifications about throttling finish.

Definition at line 80 of file SessionListener.h.

void onThrottleDelayStarted ( UInt32  delayInMilliseconds)
inlinevirtual

Implement this member to get notifications about throttling start.

Parameters
delayInMillisecondsThrottle delay in milliseconds.

Definition at line 78 of file SessionListener.h.

void onThrottleSettingsChanged ( UInt64  throttleTimeInterval,
UInt32  throttleNoMsgs,
UInt32  throttleDisconnectLimit 
)
inlinevirtual

Implement this member to get notifications about throttling settings.

Parameters
throttleTimeIntervalThrottle time interval in number of milliseconds; applicable for transaction limit.
throttleNoMsgsTransaction limit per ThrottleTimeInterval.
throttleDisconnectLimitDisconnect limit - maximum number of sequential message rejects allowed by the Eurex ETI.

Definition at line 76 of file SessionListener.h.


The documentation for this class was generated from the following file: