FIX Antenna ANSI C  2.18.0
 All Data Structures Variables Pages
Data Fields
B2BITS_Application Struct Reference

Generic application interface. More...

#include <B2BITS_C_Application.h>

Data Fields

B2BITS_ProcessCallback process_
 A call-back to process incoming messages. More...
 
B2BITS_OnLogonEventCallback onLogonEvent_
 This call-back is called to notify that the Logon message has been received from the counterpart. More...
 
B2BITS_OnLogoutEventCallback onLogoutEvent_
 This call-back is called to notify that the Logout message has been received from the counterpart or the session was disconnected. More...
 
B2BITS_OnUnexpectedMessageEventCallback onUnexpectedMessageEvent_
 This call-back is called to notify about received unexpected message. More...
 
B2BITS_OnSequenceGapEventCallback onSequenceGapEvent_
 This call-back is called when a message gap is detected in incoming messages. More...
 
B2BITS_OnSessionLevelRejectEventCallback onSessionLevelRejectEvent_
 This call-back is called when a session-level Reject message (MsgType = 3) is received. More...
 
B2BITS_OnMsgRejectEventCallback onMsgRejectEvent_
 This call-back is called when a message have to be rejected. More...
 
B2BITS_OnHeartbeatWithTestReqIDEventCallback onHeartbeatWithTestReqIDEvent_
 This call-back is called when a Heartbeat message (MsgType = 0) with the TestReqID field (tag = 112) has been received. More...
 
B2BITS_OnResendRequestEventCallback onResendRequestEvent_
 This call-back is called when a Resend Request (MsgType = 2) has been received. More...
 
B2BITS_OnInvalidResendRequestEventCallback onInvalidResendRequestEvent_
 This call-back is called when a ill-formed Resend Request (MsgType = 2) has been received. More...
 
B2BITS_OnResendRequestLoopCallback onResendRequestLoop_
 This call-back is called when #DuplicateResendRequestLimit ResendRequest messages are received. More...
 
B2BITS_OnReconnectTryEventCallback onReconnectTryEvent_
 This call-back is called each time session tries to reconnect. More...
 
B2BITS_OnNewStateEventCallback onNewStateEvent_
 This call-back is called when the session has changed its state. More...
 
B2BITS_OnSwitchConnectionEventCallback onSwitchConnectionEvent_
 This call-back is called when the session is switching to another connection. More...
 
B2BITS_OnUnableToRouteMessageCallback onUnableToRouteMessage_
 This call-back is called when the message has to be routed to the session, which does not exist. More...
 
B2BITS_OnResendCallback onResend_
 This call-back is called when an outgoing message is about to be resent as a reply to the incoming ResendRequest message. More...
 
B2BITS_OnBeforeMessageIsSentCallback onBeforeMessageIsSent_
 Faired before message is sent to socket. More...
 
B2BITS_OnAfterMessageIsReceivedCallback onAfterMessageIsReceived_
 Faired just after message is received from socket. More...
 
B2BITS_OnValidateLogonEventCallback onValidateLogonEvent_
 This call-back method is called to verify remote party. More...
 

Detailed Description

Generic application interface.

Processes the incoming messages.

Field Documentation

B2BITS_OnAfterMessageIsReceivedCallback onAfterMessageIsReceived_

Faired just after message is received from socket.

See Also
B2BITS_OnAfterMessageIsReceivedCallback
B2BITS_OnBeforeMessageIsSentCallback onBeforeMessageIsSent_

Faired before message is sent to socket.

Designed specifically for benchmarks.

See Also
B2BITS_OnBeforeMessageIsSentCallback
B2BITS_OnHeartbeatWithTestReqIDEventCallback onHeartbeatWithTestReqIDEvent_

This call-back is called when a Heartbeat message (MsgType = 0) with the TestReqID field (tag = 112) has been received.

See Also
B2BITS_OnHeartbeatWithTestReqIDEventCallback
B2BITS_OnInvalidResendRequestEventCallback onInvalidResendRequestEvent_

This call-back is called when a ill-formed Resend Request (MsgType = 2) has been received.

See Also
B2BITS_OnInvalidResendRequestEventCallback
B2BITS_OnLogonEventCallback onLogonEvent_

This call-back is called to notify that the Logon message has been received from the counterpart.

See Also
B2BITS_OnLogonEventCallback
B2BITS_OnLogoutEventCallback onLogoutEvent_

This call-back is called to notify that the Logout message has been received from the counterpart or the session was disconnected.

See Also
B2BITS_OnLogoutEventCallback
B2BITS_OnMsgRejectEventCallback onMsgRejectEvent_

This call-back is called when a message have to be rejected.

See Also
B2BITS_OnMsgRejectEventCallback
B2BITS_OnNewStateEventCallback onNewStateEvent_

This call-back is called when the session has changed its state.

See Also
B2BITS_OnNewStateEventCallback
B2BITS_OnReconnectTryEventCallback onReconnectTryEvent_

This call-back is called each time session tries to reconnect.

See Also
B2BITS_OnReconnectTryEventCallback
B2BITS_OnResendCallback onResend_

This call-back is called when an outgoing message is about to be resent as a reply to the incoming ResendRequest message.

If the method returns 'true' then the Engine resends the message to counterpart, otherwise it sends the SequenceReset Gap Fill message.

See Also
B2BITS_OnResendCallback
B2BITS_OnResendRequestEventCallback onResendRequestEvent_

This call-back is called when a Resend Request (MsgType = 2) has been received.

See Also
B2BITS_OnResendRequestEventCallback
B2BITS_OnResendRequestLoopCallback onResendRequestLoop_

This call-back is called when #DuplicateResendRequestLimit ResendRequest messages are received.

See Also
B2BITS_OnResendRequestLoopCallback
B2BITS_OnSequenceGapEventCallback onSequenceGapEvent_

This call-back is called when a message gap is detected in incoming messages.

See Also
B2BITS_OnSequenceGapEventCallback
B2BITS_OnSessionLevelRejectEventCallback onSessionLevelRejectEvent_

This call-back is called when a session-level Reject message (MsgType = 3) is received.

See Also
B2BITS_OnSessionLevelRejectEventCallback
B2BITS_OnSwitchConnectionEventCallback onSwitchConnectionEvent_

This call-back is called when the session is switching to another connection.

See Also
B2BITS_OnSwitchConnectionEventCallback
B2BITS_OnUnableToRouteMessageCallback onUnableToRouteMessage_

This call-back is called when the message has to be routed to the session, which does not exist.

See Also
B2BITS_OnUnableToRouteMessageCallback
B2BITS_OnUnexpectedMessageEventCallback onUnexpectedMessageEvent_

This call-back is called to notify about received unexpected message.

For example - when first message in session is not a Logon.

See Also
B2BITS_OnUnexpectedMessageEventCallback
B2BITS_OnValidateLogonEventCallback onValidateLogonEvent_

This call-back method is called to verify remote party.

See Also
B2BITS_OnValidateLogonEventCallback
B2BITS_ProcessCallback process_

A call-back to process incoming messages.

See Also
B2BITS_ProcessCallback

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