Class Dialback.Result
- java.lang.Object
-
- rocks.xmpp.extensions.dialback.model.Dialback
-
- rocks.xmpp.extensions.dialback.model.Dialback.Result
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class rocks.xmpp.extensions.dialback.model.Dialback
Dialback.Result, Dialback.Verify
-
-
Constructor Summary
Constructors Constructor Description Result(Jid from, Jid to, boolean valid)
Creates a valid or invalid verification result from the receiving server to the initiating server.Result(Jid from, Jid to, String key)
Creates a verification request from the initiating server to the receiving server.Result(Jid from, Jid to, StanzaError error)
Creates a dialback error from the receiving server to the initiating server.
-
-
-
Constructor Detail
-
Result
public Result(Jid from, Jid to, String key)
Creates a verification request from the initiating server to the receiving server.- Parameters:
from
- The sender domain.to
- The target domain.key
- The dialback key.- See Also:
Dialback.generateKey(String, String, String, String)
-
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.
-
-