public String getState() {
    StringBuilder buffer = new StringBuilder();
    buffer.append("CacheClientProxy[")
        .append(proxyID)
        .append("; port=").append(_socket.getPort()).append("; primary=").append(isPrimary)
        .append("; version=").append(clientVersion).append("; paused=").append(isPaused())
        .append("; alive=").append(isAlive()).append("; connected=").append(isConnected())
        .append("; isMarkedForRemoval=").append(isMarkedForRemoval).append("]");

    if (_messageDispatcher != null && isAlive()) {
      buffer.append(LogWriterImpl.getStackTrace(_messageDispatcher));
    }

    return buffer.toString();
  }
Returns a string representation of the proxy
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheClientProxy.java