private void setDirectChannelLocalAddress(final InternalDistributedMember address) {
    if (directChannel != null) {
      directChannel.setLocalAddr(address);
    }
  }
for mock testing this allows insertion of a DirectChannel mock
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionImpl.java