java.lang.Object
i2p.susi.webmail.pop3.POP3MailBox.SendRecv
Enclosing class:
POP3MailBox

private static class POP3MailBox.SendRecvextends Object
A command to send and a mode to receive and return the results.
  • Field Details

    • send

      public final String send
      The command line to send.
    • mode

      public final POP3MailBox.Mode mode
      How to read the command's response.
    • response

      public String response
      The single-line response, when read.
    • result

      public boolean result
      True for success.
    • rb

      public final Buffer rb
      Buffer holding the returned lines, non-null in LS mode only.
    • ls

      public List<String> ls
      The multi-line response, when read.
    • savedObject

      public Object savedObject
      Caller's object carried with the command.
  • Constructor Details

    • SendRecv

      public SendRecv(String s, POP3MailBox.Mode m)
      A command to send and the response mode expected.
      Parameters:
      s - may be null
      m - how the reply is read back, single line, buffer or list
    • SendRecv

      public SendRecv(String s, Buffer buffer)
      RB mode only.
      Parameters:
      s - may be null
      buffer - where the reply lines are read into