Class Dialback.Result

  • Enclosing class:
    Dialback

    public static final class Dialback.Result
    extends Dialback
    An outbound request for authorization by receiving server or a verification result from the receiving server.
    • Constructor Detail

      • Result

        public Result​(Jid from,
                      Jid to,
                      boolean valid)
        Creates a valid or invalid verification result from the receiving server to the initiating server.
        Parameters:
        from - The sender domain.
        to - The target domain.
        valid - If the key could be verified.
      • Result

        public Result​(Jid from,
                      Jid to,
                      StanzaError error)
        Creates a dialback error from the receiving server to the initiating server.
        Parameters:
        from - The sender domain.
        to - The target domain.
        error - The error.