public void AdviseEventRemoved(int eventID, int[] properties) { EventMap.RemoveEvent(eventID); }
// Event support: EventMap is a static class and access is synchronized, so no need to access it in UI thread context. // Directly add or remove the requested EventId from the EventMap from here. // Note: We update the EventMap even if peer is not available that's because we still have to keep track of number of // subscribers for the given event. public void AdviseEventAdded(int eventID, int[] properties) { EventMap.AddEvent(eventID); }