Ejemplo n.º 1
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);

        }
Ejemplo 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);
        }
Ejemplo n.º 3
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 = "CITYINDEXSTREAMING";
            connInfo.User = Username;
            connInfo.Password = SessionId;
            connInfo.Constraints.MaxBandwidth = 999999;
            client.OpenConnection(connInfo, ls);

        }