internal void AsyncConnect(object state)
        {
            Exception e = null;

            try {
                TcpConnection.Connect();
            } catch (Exception exception2) {
                e = exception2;
            }
            TcpConnection_OpenConnection(e);
        }
示例#2
0
        /// <summary>
        /// Connects the client to the broker's remote servers
        /// </summary>
        public override void Connect()
        {
            if (IsConnected)
            {
                return;
            }

            _sockClient.Connect();
        }
示例#3
0
        /// <summary>
        /// Connects the client to the broker's remote servers
        /// </summary>
        public override void Connect()
        {
            if (IsConnected)
            {
                return;
            }

            AccountBaseCurrency = GetAccountBaseCurrency();

            _sockClient.Connect();
        }