コード例 #1
0
        private void InitializeTradeClients()
        {
            optLastTrdClient = new TradeClient();

            optLastTrdClient.RegisterSessHndlrs(optLastTrdClient_HandleErr, optLastTrdClient_HandleConnectionFailed,
                                                optLastTrdClient_HandleConnected, optLastTrdClient_HandleDisconnected);

            eqLastTrdClient = new TradeClient();
            eqLastTrdClient.RegisterSessHndlrs(eqLastTrdClient_HandleErr, eqLastTrdClient_HandleConnectionFailed,
                                               eqLastTrdClient_HandleConnected, eqLastTrdClient_HandleDisconnected);

            sprdLastTrdClient = new TradeClient();
            sprdLastTrdClient.RegisterSessHndlrs(sprdLastTrdClient_HandleErr, sprdLastTrdClient_HandleConnectionFailed,
                                                 sprdLastTrdClient_HandleConnected, sprdLastTrdClient_HandleDisconnected);
        }