コード例 #1
0
        //This event handler runs when a PriceChange event is raised.
        //The client's PriceChange service operation is invoked to provide notification about the price change.

        public void MarketChangeHandler(object sender, MarketData newData)
        {
            callback.GetMarketData(newData);
        }
コード例 #2
0
 public void GetMarketData(MarketData marketdata)
 {
 }
コード例 #3
0
        //Information source clients call this service operation to report a price change.
        //A price change event is raised. The price change event handlers for each subscriber will execute.

        public void PublishMarketData(MarketData newData)
        {
            MarketDataChangeEvent(this, newData);
        }