@Override
    public void dispatchEvent(CacheEvent event, CacheListener listener) {
      if (listener instanceof RegionMembershipListener) {
        ((RegionMembershipListener) listener).afterRemoteRegionCreate((RegionEvent) event);
      }
    }
Invoke the correct listener method for this event.

@since GemFire 5.0
geode-core/src/main/java/org/apache/geode/internal/cache/EnumListenerEvent.java