package com.magnet.mmx.protocol;

/**
 * Count object to represent the results of the operation
 */
public class Count {
  private int requested;
  private int sent;
  private int unsent;

  public Count(int requested, int sent, int unsent) {
    this.requested = requested;
    this.sent = sent;
    this.unsent = unsent;
  }

  public Count() {
  }

  public int getRequested() {
    return requested;
  }

  public void setRequested(int requested) {
    this.requested = requested;
  }

  public int getSent() {
    return sent;
  }

  public void setSent(int sent) {
    this.sent = sent;
  }

  public int getUnsent() {
    return unsent;
  }

  public void setUnsent(int unsent) {
    this.unsent = unsent;
  }
}
@@ -710,9 +710,130 @@
 nt;%0A  %7D%0A
-%7D
+%0A  @Override%0A  public String toString() %7B%0A    return %22%5Brequested=%22+requested+%22, sent=%22+sent+%22, unsent=%22+unsent+%22%5D%22;%0A  %7D%0A%7D%0A

Add a toString() for debugging purpose.