src/main/java/pityoulish/jrmi/follow/FollowTheBoardHandler.java
protected void listAvailableMessages()
    throws Exception
  {
    RemoteMessageBoard rmb = regBackend.getRemoteMessageBoard();

    final int batchsize = 125; // magic number to reduce server logging

    boolean more = true;
    while (more)
     {
       MessageList msglist = rmb.listMessages(batchsize, listMarker);
       userOutput.printMessageList(msglist);

       more = (msglist.getMessages().size() >= batchsize);
       listMarker = msglist.getMarker();
     }
  }
/**
   * Lists as many messages as are available.
   * If {@link #listMarker} is set, messages are listed from there.
   * The marker is updated here, for subsequent calls.
   *
   * @throws Exception  in case of a problem
   */
Lists as many messages as are available.
If  #listMarker is set, messages are listed from there.
The marker is updated here, for subsequent calls.

@throws Exception  in case of a problem
Lists as many messages as are available . If #listMarker is set messages are listed from there . The marker is updated here for subsequent calls . @throws Exception in case of a problem
protected void listAvailableMessages()
    throws Exception
  {
    RemoteMessageBoard rmb = regBackend.getRemoteMessageBoard();
    final int batchsize = 125; 
    boolean more = true;
    while (more)
     {
       MessageList msglist = rmb.listMessages(batchsize, listMarker);
       userOutput.printMessageList(msglist);
       more = (msglist.getMessages().size() >= batchsize);
       listMarker = msglist.getMarker();
     }
  }
protected void listAvailableMessages ( ) throws Exception { RemoteMessageBoard rmb = regBackend . getRemoteMessageBoard ( ) ; final int batchsize = 125 ; boolean more = true ; while ( more ) { MessageList msglist = rmb . listMessages ( batchsize , listMarker ) ; userOutput . printMessageList ( msglist ) ; more = ( msglist . getMessages ( ) . size ( ) >= batchsize ) ; listMarker = msglist . getMarker ( ) ; } }
Lists as many messages as are available.
Lists as many messages as are available .
// magic number to reduce server logging