Exemplo n.º 1
0
 public Object request(Object command, int timeout) 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.logRequest(log, command);
   Object rc = super.request(command, timeout);
   if (logging) logWriter.logResponse(log, command);
   return rc;
 }