Пример #1
0
 public FutureResponse asyncRequest(Object command, ResponseCallback responseCallback)
     throws IOException {
   // Changed this method to use a LogWriter object to actually
   // print the messages to the log, and only in case of logging
   // being active, instead of logging the message directly.
   if (logging) logWriter.logAsyncRequest(log, command);
   FutureResponse rc = next.asyncRequest(command, responseCallback);
   return rc;
 }