java.lang.Object
i2p.susi.webmail.smtp.SMTPClient.Result
Enclosing class:
SMTPClient

private static class SMTPClient.Resultextends Object
A result string and code.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final String
    The full server response, with any multi-line folding removed.
    final int
    The three-digit reply code parsed from the server's response, or 0 on error.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Result(int r, String t)
    Creates a reply with its code and text.
  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    Reply code and text for log messages.

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • result

      public final int result
      The three-digit reply code parsed from the server's response, or 0 on error.
    • recv

      public final String recv
      The full server response, with any multi-line folding removed.
  • Constructor Details

    • Result

      public Result(int r, String t)
      Creates a reply with its code and text.
      Parameters:
      r - the three-digit reply code, or 0 on error
      t - the reply text, non-null
  • Method Details

    • toString

      public String toString()
      Reply code and text for log messages.
      Overrides:
      toString in class Object