@Override
    public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("kind=");
      switch (kind) {
        case SURPRISE_CONNECT:
          sb.append("connect; member = <").append(member).append(">");
          break;
        case VIEW:
          String text = gmsView.toString();
          sb.append("view <").append(text).append(">");
          break;
        case MESSAGE:
          sb.append("message <").append(dmsg).append(">");
          break;
        default:
          sb.append("unknown=<").append(kind).append(">");
          break;
      }
      return sb.toString();
    }
indicates whether the event is a departure, a surprise connect (i.e., before the view message
arrived), a view, or a regular message

@see #SURPRISE_CONNECT
@see #VIEW
@see #MESSAGE
geode-membership/src/main/java/org/apache/geode/distributed/internal/membership/gms/GMSMembership.java