Exemplo n.º 1
0
        public SIViewModel()
        {
            using (Server cepServer = Server.Connect(new EndpointAddress(@"http://localhost/StreamInsight/MyInstance"))) {
                var cepApplication = cepServer.Applications["DualMode"];

                var cepSource = cepApplication.GetStreamable<StreamInputEvent<YahooDataEvent>>("DualModeSource");

                var mySink = cepApplication.GetObserver<StreamOutputEvent<YahooDataEvent>>("PointSink");

                var sinkConfig = new WpfOutputConfig() {
                };

            }
        }
Exemplo n.º 2
0
        public SIViewModel()
        {
            using (Server cepServer = Server.Connect(new EndpointAddress(@"http://localhost/StreamInsight/MyInstance"))) {
                var cepApplication = cepServer.Applications["DualMode"];

                var cepSource = cepApplication.GetStreamable <StreamInputEvent <YahooDataEvent> >("DualModeSource");

                var mySink = cepApplication.GetObserver <StreamOutputEvent <YahooDataEvent> >("PointSink");

                var sinkConfig = new WpfOutputConfig()
                {
                };
            }
        }