public void Start(string pushServerUrl, int phase, ILightstreamerListener listener)
        {
            StocklistConnectionListener ls = new StocklistConnectionListener(listener, phase);

            ConnectionInfo connInfo = new ConnectionInfo();
            connInfo.PushServerUrl = pushServerUrl;
            connInfo.Adapter = "DEMO";
            client.OpenConnection(connInfo, ls);

        }
Esempio n. 2
0
        public void Start(string pushServerUrl, int phase, ILightstreamerListener listener)
        {
            StocklistConnectionListener ls = new StocklistConnectionListener(listener, phase);

            ConnectionInfo connInfo = new ConnectionInfo();

            connInfo.PushServerUrl = pushServerUrl;
            connInfo.Adapter       = "DEMO";
            client.OpenConnection(connInfo, ls);
        }
        public void Start(string pushServerUrl, int phase, ILightstreamerListener listener)
        {
            StocklistConnectionListener ls = new StocklistConnectionListener(listener, phase);

            ConnectionInfo connInfo = new ConnectionInfo();
            connInfo.PushServerUrl = pushServerUrl;
            connInfo.Adapter = "CITYINDEXSTREAMING";
            connInfo.User = Username;
            connInfo.Password = SessionId;
            connInfo.Constraints.MaxBandwidth = 999999;
            client.OpenConnection(connInfo, ls);

        }