package com.wavefront.agent;

import java.util.List;

import javax.annotation.Nullable;

import sunnylabs.report.ReportPoint;

/**
 * Interface for a handler of Report Points.
 *
 * @author Clement Pang (clement@wavefront.com).
 */
public interface PointHandler {
  /**
   * Send a point for reporting.
   *
   * @param point     Point to report.
   * @param debugLine Debug information to print to console when the line is rejected. If null, then
   */
  void reportPoint(ReportPoint point, @Nullable String debugLine);

  /**
   * Send a collection of points for reporting.
   *
   * @param points Points to report.
   */
  void reportPoints(List<ReportPoint> points);

  /**
   * Called when a blocked line is encountered.
   *
   * @param pointLine Line encountered.
   */
  void handleBlockedPoint(String pointLine);
}

@@ -430,22 +430,86 @@
 ted.
- If null, then
+%0A   *                  If null, then use the entire point converted to string.
 %0A   

Correct comments