Example #1
0
 /**
  * Counts {@link #processRequests(java.util.List)}. send and received bytes.
  *
  * @thread it assumes that client is not run in paralel.
  */
 public long getCounter() {
   long ret = 0;
   if (loggedDataInputStream != null) {
     ret += loggedDataInputStream.getCounter();
   }
   if (loggedDataOutputStream != null) {
     ret += loggedDataOutputStream.getCounter();
   }
   return ret;
 }