• Programmer’s Guide
  • Api Documentation
  • FIX Session Acceptor
Show / Hide Table of Contents
  • License Agreement
  • Release Notes
  • Backgrounder
    • About FIX
    • About FIX messages
    • About FIX sessions
    • About FIX 5.0
  • Installation And Uninstallation
    • Requirements & Compatibility
    • Supported Features
    • Samples descriptions
    • Uninstallation instructions
  • Quick Start
    • Session acceptor creation
    • Session initiator creation
    • Creating new order
    • Sending order
    • Processing incoming message
    • Closing session
    • Sample application
  • Basic Concepts
    • Main components
    • FixServer description
    • IFixServerListener description
    • IFixSessionListener description
    • IFixSession description
    • Repeating Groups description
    • Message validation
  • FIX Session Acceptor
    • Create
    • Connect
    • Reject
    • Reconnect
    • Disconnect
    • Release
    • Send message
  • FIX Session Initiator
    • Create
    • Establish connection
    • Reconnect
    • Disconnect
    • Dispose
    • Send message
  • FIX Session
    • Persistent session
    • Session state
    • Sequence number handling
    • Session qualifier
  • FIX Message
    • Create
    • Get field
    • Add field
    • Set field
    • Remove field
    • Repeating group
    • User defined fields
    • Clone message
  • FIX Prepared Message
    • Create
    • Add field
    • Set field
  • Repeating Group API
    • Indexing Repeating Group
    • Working with Repeating Groups through API
    • Repeating Group Pool
    • Get Repeating Group
    • Get Entry
    • Get nested group
    • Add new Repeating Group to message
    • Add new Entry to Repeating Group
    • Remove Entry from Repeating Group
    • Leading tag self-maintaining
    • ITagList interface
    • Validation
    • Copying
    • Finishing work with Repeating Group API
  • Validation
    • Initialization
    • Validation
  • Monitoring and Administration
    • Overview
    • Response result codes
    • Supported commands
  • Recovery
    • Store-and-forward
    • Gap fill
    • Fail-over
  • Configuration
    • Global configuration
    • Server Behavior
    • Queue and Storage
    • Validation
    • Administrative plugin
    • Session’s configuration
    • Configure SeqNum fields length
    • Definition of session’s configuration via properties file
    • Definition of session’s configuration via XML file
    • Loading of session’s configuration
  • TLS Support
    • SSL/TLS configuration
    • How to define an SSL certificate
    • How to use sslPort and requireSsl configuration options
    • Configuration examples
    • Diagnostic and troubleshooting
  • Other Topics
    • Log files
    • FAQ
    • Troubleshooting

FIX Session Acceptor

Create

FIX Antenna automatically creates a session acceptor when a Logon message is received. A user is notified via IFixServerListener and they may opt to accept or reject this session by calling Dispose() or Connect().

Connect

Use session.Connect() to accept a connection.

Reject

Use session.Reject(string reason) to reject incomming connection. In this case engine will send only Logout(5) message to counterparty.

Reconnect

According to the FIX protocol standard it is not the acceptor's responsibility to reconnect. When a connection is unexpectedly terminated acceptor session is automatically closed. When a correct Logon is received the acceptor completes reconnection process and continues working from the point at which it has been before termination. Note: if the session wasn't disposed then the same session's instance can be reused during recconnect procedure.

Disconnect

To disconnect the acceptor (this process can be also called "terminate", "delete", "close") the following method can be used:

 session.Disconnect(string reason);

Release

To release all session's resources and unregister session use:

session.Dispose();

Send message

To send outgoing application-level messages use the:

session.SendMessage(string type, FixMessage content)

All session level messages are sent automatically when needed.

In This Article
  • Create
  • Connect
  • Reject
  • Reconnect
  • Disconnect
  • Release
  • Send message
Back to top Generated by DocFX