log.info(this + " receiving " + msgs.size() + " message(s) from the remoting layer");
   public HandleMessageResponse handleMessage(List msgs) throws HandleCallbackException   {                  if (trace) { log.trace(this + " receiving " + msgs.size() + " message(s) from the remoting layer"); }                            synchronized (mainLock)      {         if (closed)         {                         // Ignore            return new HandleMessageResponse(false, 0);         }                                               // Put the messages in the buffer and notify any waiting receive()                  processMessages(msgs);                            buffer.addAll(msgs);                                    if (trace) { log.trace(this + " added messages to the buffer"); }                              boolean full = buffer.size() >= bufferSize;                           messagesAdded();                  if (full)         {            serverSending = false;            if (trace) { log.trace(this + " is full"); }         }                                                   // For now we always accept all messages - in the future this may change         return new HandleMessageResponse(full, msgs.size());      }   }