@Override
  public String toString() {
    String clientMembership = "JOINED";

    switch (eventType) {
      case LEFT:
        clientMembership = "LEFT";
        break;

      case CRASHED:
        clientMembership = "CRASHED and left";
        break;

      default:
        break;
    }

    return "Client with Id: " + clientId + " running on host: " + clientHost + " "
        + clientMembership + " the server: " + getSender();
  }
String representation of this message.

@return String representation of this message.
geode-core/src/main/java/org/apache/geode/internal/admin/ClientMembershipMessage.java