@Override
  public void toData(DataOutput out) throws IOException {
    out.writeInt(port);
    out.writeBoolean(notifyBySubscription);
    out.writeBoolean(isRunning);
    out.writeInt(maxConnections);
    out.writeInt(id);
    out.writeInt(maximumTimeBetweenPings);
    out.writeInt(maximumMessageCount);
    out.writeInt(messageTimeToLive);
    out.writeInt(maxThreads);
    DataSerializer.writeString(bindAddress, out);
    DataSerializer.writeStringArray(groups, out);
    DataSerializer.writeString(hostnameForClients, out);
    DataSerializer.writeObject(loadProbe, out);
    DataSerializer.writePrimitiveLong(loadPollInterval, out);
    out.writeInt(socketBufferSize);
    out.writeBoolean(tcpNoDelay);
    out.writeInt(getClientSubscriptionConfig().getCapacity());
    DataSerializer.writeString(getClientSubscriptionConfig().getEvictionPolicy(), out);
    DataSerializer.writeString(getClientSubscriptionConfig().getDiskStoreName(), out);
    if (getClientSubscriptionConfig().getDiskStoreName() == null) {
      DataSerializer.writeString(getClientSubscriptionConfig().getOverflowDirectory(), out);
    }
  }
Returns the cache that is served by this cache server or <code>null</code> if this server is
not running.
geode-core/src/main/java/org/apache/geode/internal/admin/remote/RemoteBridgeServer.java