Sessions operations (for FIXEdge C++)
Sessions operations
Session operations are available from the Session Dynamic State page.
To go to the Session Dynamic State page, you should:
- Select the server from the Servers page (items 1→ 2→3 in the figure below)
- Select the session from the Server Sessions page (items 4 or 5→6 in the figure below)
Figure. The Servers page.
- To open the Session Dynamic State page in a single tab, choose one of the following options:
- Click View on the top panel
- Select View in the context menu
- Double-click the session
- Press Enter on the keyboard
The set of available operations depends on the dynamic session status.
Start a session
To start a configured session:
- Make sure the session is in one of the following statuses:
- Click Start
- In the Object info part (see below)
- Figure. Start the session from the Object info layout part.
or - In the Session Dynamic State page (see below)
- Figure. Start the session from the Session Dynamic State page.
- In the Object info part (see below)
- The FIXICC H2 displays the following confirmation form:
Figure. Confirm the session starting. - Optional. To reset sequence numbers, select the Reset sequence numbers checkbox.
The sequence numbers are assigned with initial values of the incoming and outgoing sequence numbers from the session configuration. - To finish:
- Click OK to complete the operation
or - Click Cancel to cancel the operation
- Click OK to complete the operation
If for some reason FIXEdge can't complete this operation, FIXICC H2 displays an error form.
If the operation can't be finished, the session dynamic status won't be changed.
System response
The system reacts differently depending upon whether an initiator session or an acceptor session was started.
- An initiator session:
- Sends a Logon message
- Waits for the confirming Logon message
- Changes the current dynamic status to "Connecting". The color indicator turns yellow.
- Receives the confirming Logon message
- Changes the current dynamic status to "Running". The color indicator turns green.
- An acceptor session:
- Waits for a Logon message
- Changes the current dynamic status to "Connecting". The color indicator turns yellow.
- Receives the Logon message from the initiator session
- Sends the confirming Logon message
- Changes the current dynamic status into "Running". The color indicator turns green.
Stop the session
To stop a started session:
- Make sure the session is in one of the following statuses:
- Click the Stop drop-down menu
- In the Object info layout (see below)
- Figure. Stop the session/ stop the session with logout from the Object info layout part.
or - In the Session Dynamic State page (see below)
- In the Object info layout (see below)
If for some reason FIXEdge can't complete this operation, the FIXICC H2 displays an error form.
If the operation can't be finished, the session dynamic status won't be changed.
System response
- If Stop is selected:
- FIXEdge shuts the connection down
- The session changes the current dynamic status to "Disconnected"
- The color indicator on FIXICC H2 turns red
- If Stop with logout is selected:
- The session sends the Logout message
- The session waits for the response on the logout message
- The session changes the current dynamic status to "Disconnected"
- The color indicator on FIXICC H2 is red
Restart session
The restart operation consists of several operations:
- The running session is:
- Stopped
- Disconnected
- Removed from FIX Antenna Cpp
- The planned session starts
You can restart the running session with and without sending a logout message.
To restart a session:
- Make sure it's in one of the following statuses:
- In the additional drop-down menu, you can find the Restart and Restart with logout operations
- In the Object info layout part (see below)
- Figure. Restart the session/ restart the session with logout from the Object info layout part.
or - In the Session Dynamic State page
- Figure. Restart the session/ restart the session with logout from the Session Dynamic State page.
- In the Object info layout part (see below)
- From there, you can:
- Click Restart session to restart the session without sending a logout message
- Then the FIXICC H2 displays the "Confirm the session restarting" form
Figure. Confirmation form for the restart operation. - Click OK to confirm the operation or click Cancel to cancel the operation
- Then the FIXICC H2 displays the "Confirm the session restarting" form
- Click Restart with logout to restart the session and send the logout message
- Then the FIXICC H2 displays the "Confirm the session restarting with logout" form
- Figure. Confirmation form for the restart with logout operation.
- Figure. Confirmation form for the restart with logout operation.
- Optional. To reset sequence numbers, select the Reset sequence numbers checkbox.
The sequence numbers are assigned with initial values of the incoming and outgoing sequence numbers from the session configuration.
- Then the FIXICC H2 displays the "Confirm the session restarting with logout" form
- Click Restart session to restart the session without sending a logout message
If for some reason FIXEdge can't complete this operation, FIXICC H2 displays an error form.
If the operation can't be finished, the session dynamic status won't be changed.
Session response
- If Restart is selected:
- FIXEdge shuts the connection down
- The session changes the current dynamic status to "Disconnected"
- The color indicator on FIXICC H2 turns red
- FIXEdge removes the session from FIX Antenna
- The session changes the current dynamic status to "Planned"
- The color indicator on FIXICC H2 turns black
- If Restart with logout is selected:
- The session sends the Logout message
- The session waits for the response on the logout message
- The session changes the current dynamic status to "Disconnected"
- The color indicator turns red
- FIXEdge removes the session from FIX Antenna
- The session changes the current dynamic status to "Planned"
- The color indicator on FIXICC H2 turns black
When the stop operation is finished, FIXEdge starts the planned session. The stopped session responds to the start operation differently depending on whether an initiator session or acceptor session is being started.
An initiator session:
- Sends the Logon message
- Waits for the confirming Logon message
- Changes the current dynamic status to "Connecting"
- The color indicator on FIXICC H2 turns yellow
- The initiator session receives the confirming Logon message
- Changes the current dynamic status to "Running"
- The color indicator on FIXICC H2 turns green
- Note: If the initiator is reconnected to the backup acceptor, the color indicator turns blue. For more information please follow the Switch to Primary/Backup
An acceptor session:
- Waits for the Logon message
- Changes the current dynamic status to "Connecting"
- The color indicator on FIXICC H2 turns yellow
- The acceptor session receives the Logon message
- Sends the confirming Logon message
- Changes the current dynamic status to "Running"
- The color indicator on FIXICC H2 turns green
If for some reason the FIXEdge can't complete this operation, then the FIXICC H2 displays an error form.
In this case, the operation can't be finished and the session dynamic status won't be changed.
Sequence numbers operations
You have access to the operation with the current sequence numbers of the session.
The Seq Num drop-down menu is available for the session in the following statuses:
Changing sequence numbers
To change the current incoming or outgoing sequence numbers:
- Make sure the session is in one of the following statuses: or
- Select Change Seq Num from the Seq Num drop-down menu from either:
- The Object info layout part (shown below)
Figure. Change sequence numbers from the Object info layout part. - The Session Dynamic State page (shown below)
Figure. Change sequence numbers from the Session Dynamic State page.
- The Object info layout part (shown below)
- The FIXICC H2 displays the Change sequence numbers form to enter the new sequence numbers.
You can see actual incoming and outgoing sequence numbers in the parentheses near the input fields.
Figure. The Change Sequence Numbers form.
Please note the following information before completing the operation:- You can change one (either incoming or outgoing) or both sequence numbers using this form.
- At least one field should be filled to complete the operation.
- If both fields are empty, the FIXICC H2 displays an alert message.
- Use zero or positive integer values
- If you use a negative or non-integer value, the FIXICC H2 displays an alert message.
- If you use a number smaller than the actual one (displayed inside the parentheses), some messages might be missed.
To avoid this, use a positive integer larger than the actual sequence number.
- You can change one (either incoming or outgoing) or both sequence numbers using this form.
- Once you've entered your desired value, click OK to complete the operation.
The FIXICC H2 then sends the new sequence number value(s) to FIXEdge for the current session.- If the field is empty, the corresponding sequence number won't be changed.
If FIXEdge can't complete this operation, the FIXICC H2 displays an error form.
If the operation can't be completed, the sequence numbers won't be changed.
Resetting sequence numbers
This operation specifies the current incoming and outgoing sequence numbers with the initial values from the session configuration.
To reset the current sequence numbers of the session:
- Make sure the session is in one of the following statuses:
- Select Reset Seq Num from the Seq Num drop-down menu
- In the Object info layout part (see below)
- Figure. Reset sequence numbers from the Object info layout part.
or - The Session Dynamic State page (see below)
- Figure. Reset sequence numbers from the Session Dynamic State page.
- In the Object info layout part (see below)
- The FIXICC H2 displays the following confirmation form
Figure. The "Confirm reset sequence numbers" form. - Click OK to confirm the operation or click Cancel to cancel the operation
If for some reason FIXEdge can't complete this operation, FIXICC H2 displays an error form.
If the operation can't be finished, the sequence numbers won't be changed.
Send operations
You have the ability to send FIX messages to a configured session with the following statuses:
Sending a heartbeat message
To send a heartbeat message to a session:
- Make sure the session is in one of the following statuses:
- Select Heartbeat from the Send drop-down menu in either:
- The Object info layout part (see below)
- Figure. Send heartbeat from the Object info layout part.
or - The Session Dynamic State page (see below)
- Figure. Send heartbeat from the Session Dynamic State page.
- The following form appears:
- Figure. The "Confirm the heartbeat sending" form.
- Finish the operation by selecting:
- OK to confirm the heartbeat sending operation
- Cancel to cancel the operation
If for some reason FIXEdge can't complete this operation, FIXICC H2 displays an error form.
If the operation can't be finished, the message won't be sent.
Sending an arbitrary message
To send an arbitrary FIX message to a session:
- Make sure the session displays one of the following statuses:
- Select Arbitrary message from the Send drop-down menu
- In the Object info part (see below)
- Figure. Send an arbitrary message from the Object info layout part.
or - The Session Dynamic State page (see below)
- Figure. Send an arbitrary message from the Session Dynamic State page.
- In the Object info part (see below)
- The FIXICC H2 displays the "Send arbitrary message" form
Figure. The "Send arbitrary message" form. - In the message field, you can:
- Type the arbitrary FIX message
- Paste the FIX message from the clipboard
- Click Load message to load the FIX message from a file
- Click SOH or press Ctrl+Space on your keyboard to insert the SOH delimiter
- Note: The arbitrary message field must be filled to complete the sending operation. An empty message can't be sent.
- Note: The arbitrary message field must be filled to complete the sending operation. An empty message can't be sent.
- Click OK to confirm the operation or click Cancel to cancel the operation
If for some reason FIXEdge can't complete this operation, FIXICC H2 displays an error form.
If the operation can't be finished, the message won't be sent.
Sending a test request
To send a test request FIX message to a session:
- Make sure the session displays one of the following statuses:
- Select Test request from the Send drop-down menu in either:
- The Object info layout part (see below)
- Figure. Send a test request from the Object info layout part.
- or
- The Session Dynamic State page (see below)
- Figure. Send a test request from the Session Dynamic State page.
- The Object info layout part (see below)
- FIXICC H2 displays the following form:
- Figure. The "Send test request" form.
- In the Test request ID field, you can:
- Use the default ID (current date and time)
- Change the ID by typing in the field
- Paste from the clipboard
- To finish the operation:
- Select OK to confirm the operation
Note: The Test request ID field must be filled to send the test request. The request cannot be sent without an ID.
or - Select Cancel to cancel the operation
- Select OK to confirm the operation
If for some reason FIXEdge can't complete this operation, FIXICC H2 displays an error form.
If the operation can't be finished, the message won't be sent.
Sending a resend request
To send a resend request FIX message to a session:
- Make sure the session displays one of the following statuses:
- Select Resend request from the Send drop-down menu in either:
- The Object info layout part (see below)
- Figure. Send a resend request from the Object info layout part.
- or
- The Session Dynamic State page (see below)
- Figure. Send a resend request from the Session Dynamic State page.
- The Object info layout part (see below)
- FIXICC H2 displays the following form:
- Figure. The "Resend request" form.
- In the Resend sequence section, you can:
- Use the default values (all the sequence numbers of messages that have already been sent are resent from the counterparty)
Enter the numbers of the first and last messages to resend by typing into the fields or pasting from the clipboard
Note:Use a positive integer value in the Sequence number of the first message field
- Use zero or a positive integer value in the Sequence number of the last message field
- Using zero in the Sequence number of the last message field resends the sequence of messages starting with the value in the Sequence number of the first message field until the last sent message
- The value in the Sequence number of the last message field should be greater than or equal to the value in the Sequence number of the first message field
If both fields contain the same value, only one message is resent from the counterparty
- Both fields must be filled to set the sequence
- To finish the operation:
- Select OK to confirm the operation
- Select Cancel to cancel the operation
If for some reason FIXEdge can't complete this operation, FIXICC H2 displays an error form.
If the operation can't be finished, the message won't be sent.
Switch to Primary/Backup
The Switch to Backup/Switch to Primary operations are only enabled for initiator sessions.
These operations are not included in the additional drop-down menu for acceptor sessions.
In the initiator session configuration, you can set the mandatory parameters Backup Host and Backup Port for setting the backup connection in the Connection settings > Extended section.
Switching to backup
To switch the initiator session that is connected to the acceptor session located in the primary server:
- Make sure the session status corresponds to one of the following statuses:
- Click Switch to Backup in the additional drop-down menu in either:
- The Object info layout part (see below)Figure. Switch to backup from the Object info layout part.
or - The Session Dynamic State page (see below)
- Figure. Switch to backup from the Session Dynamic State page.
- The Object info layout part (see below)Figure. Switch to backup from the Object info layout part.
- The FIXICC H2 displays the following confirmation form:
Figure. The "Confirm the session connection to backup" form. - Click OK to accept the reconnection or click Cancel to cancel the operation
- If you accept the reconnection, FIXICC H2 sends the request for switching the connection of the initiator session to the acceptor session in the backup server to FIXEdge
- If the connection is established, the initiator session status is changed into
If for some reason FIXEdge can't complete this operation, the FIXICC H2 displays an error form.
If the operation can't be finished, the session dynamic status won't be changed.
Switching to primary
To switch the initiator session that is connected to the acceptor session configured for the backup server:
- Make sure the session status corresponds to one of the following statuses:
- Click Switch to Primary in the additional drop-down menu in either
- The Object info layout part (see below)
- Figure. Switch to primary from the Object info layout part.
or - The Session Dynamic State page (see below)
- Figure. Switch to primary from the Session Dynamic State page.
- The Object info layout part (see below)
- Then the FIXICC H2 displays the following confirmation form:
Figure. The "Confirm the session connection to primary" form. - Click OK to accept the reconnection or click Cancel to cancel the operation
- If you accept the reconnection, FIXICC H2 sends the request for switching the connection of the initiator session to the acceptor session in the primary server to FIXEdge
- If the connection is established, the initiator session status is changed to
If for some reason FIXEdge can't complete this operation, FIXICC H2 displays an error form.
If the operation can't be finished, the session dynamic status won't be changed.
Show session notifications
To see the list of the selected session notifications:
- Make sure the session is in one of the following statuses:
- Click Show session notifications in the additional menu in either
- The Object info layout part (see below)
- Figure. Show session notifications from the Object info layout part.
or - The Session Dynamic State page (see below)
- Figure. The Show session notifications option.
- The Object info layout part (see below)
- Then FIXICC H2 opens the Notifications page (see below). Note that:
- The Object field is empty and disabled
- The Event Source field is filled with the session name and disabled
- By default, the notifications list is filtered by the current session name
Using the Default Filter, you can filter session notifications by date
The Extended Filter is available on the page
Figure. The Notifications page filtered by session name.