The MFClient provides factory methods to create market data and trading session objects, both of which are derived from the MFSession class.
MFSession objects handle the network interaction with the MarketFactory servers, such as market data subscriptions and trading actions from the client's system. They are also responsible for making calls into customer-implemented handlers conforming to the MFMarketDataHandler or MFTradingHandler interfaces.
Handlers implementing the MFMarketDataHandler or MFTradingHandler interfaces do the work of reacting to messages received from the MarketFactory server.