Class StatisticsTable

To request statistics on a service:

StatisticsTable stats = cid.getStatistics();

if (stats != null)
{
    System.out.println("Statistics for CID " + cid.getCid())
    System.out.println(stats.toString());
}
else
{
    String text;

    if (cid.getLastError() < 0)
    {
        text = "Failure requesting statistics for CID " +
                                cid.getCid() + ": " +
                                cid.getLastErrorMessage();
    }
    else
    {
        text = "No statistics available for CID " +
                                cid.getCid();
    }

    System.err.println(text);
}