code: @Override
      public void requestMsgs(int requestNumber, int receiveBytes, int requestedBytes) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "requestMessages",
                                             new Object[]
                                             {
                                                "" + requestNumber,
                                                "" + receiveBytes,
                                                "" + requestedBytes
                                             });
  
          BrowserSession browserSession = mainConsumer.getBrowserSession();
          Conversation conversation = getConversation();
  
          // Calculate the number of bytes we should send
          sentBytes -= receiveBytes;
          boolean done = sentBytes > requestedBytes;
          try {
              // Loop, sending messages to the client until we either run out or
              // hit the size limit imposed by our pacing algorithm.
              while (!done) {
  
                  SIBusMessage msg = null;
                  msg = getNextMessage(browserSession, conversation, (short) requestNumber);
  
                  done = msg == null;
                  if (!done) {
                      sentBytes += sendMessage(msg);
                  }
  
                  done |= sentBytes > requestedBytes;
              }
          } catch (OperationFailedException e) {
              // No FFDC code needed
              if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled())
                  SibTr.exception(this, tc, e);
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(this, tc, "requestMessages");
      }
docs: Invoked when the client requests some more messages for a browser session.
  This code attempts to browse a number of messages (using the pacing algorithm
  described in the Client Design Document) and send them to the client.
  
  @param requestNumber
  @param receiveBytes
  @param requestedBytes