public DistributionConfig getDMConfig() {
    if (dm != null) {
      return dm.getConfig();
    } else {
      return null;
    }
  }
Returns null if no config is available.

@since GemFire 4.2.2
geode-core/src/main/java/org/apache/geode/distributed/internal/direct/DirectChannel.java