public RtdServer() { flowForm = new FlowForm(this); flowForm.Activate(); // setup Lightstreamer Client instance lsClient = new LightstreamerClient(this, null, null, this.flowForm); flowForm.Show(); flowForm.BringToFront(); pushServerUrl = "http://localhost:80"; }
public LightstreamerClient( IRtdLightstreamerListener listener, string adapter_set, string adapter_name, FlowForm flowForm) { if (listener == null) { throw new ArgumentNullException("listener is null"); } this.adapter_set = adapter_set; this.adapter_name = adapter_name; this.listener = listener; this.flowForm = flowForm; client = new LSClient(); }