/** * calleback by GigaSpaces when event occured * EventArgs is the data of the event */ private void Space_DataChanged(object sender, SpaceDataEventArgs <HelloMsg> e) { //store in the _receivedData the data we got from the event _eventData = "Message ID: " + e.Pono.ID + " ('" + e.Pono.MSG + "') was set to Done!"; //Tell Excel that we have updates. Then the Excel calls back to RefreshData _xlRTDUpdate.UpdateNotify(); }
//this method is invoked when a tick has changed private void Space_TickChanged(object sender, SpaceDataEventArgs <TickInfo.TickInfo> e) { //bookmark the tick that was changed _tickTable[e.Pono.Symbol].Changed = true; //Tell Excel that we have updates, //as a result the excel will call the RefreshData function _xlRTDUpdate.UpdateNotify(); }
/** * calleback by GigaSpaces when event occured * EventArgs is the data of the event */ private void Space_DataChanged(object sender, SpaceDataEventArgs<HelloMsg> e) { //store in the _receivedData the data we got from the event _eventData = "Message ID: " + e.Pono.ID + " ('"+e.Pono.MSG+"') was set to Done!"; //Tell Excel that we have updates. Then the Excel calls back to RefreshData _xlRTDUpdate.UpdateNotify(); }
//this method is invoked when a tick has changed private void Space_TickChanged(object sender, SpaceDataEventArgs<TickInfo.TickInfo> e) { //bookmark the tick that was changed _tickTable[e.Pono.Symbol].Changed = true; //Tell Excel that we have updates, //as a result the excel will call the RefreshData function _xlRTDUpdate.UpdateNotify(); }