Class Dialback.Verify
- java.lang.Object
-
- rocks.xmpp.extensions.dialback.model.Dialback
-
- rocks.xmpp.extensions.dialback.model.Dialback.Verify
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class rocks.xmpp.extensions.dialback.model.Dialback
Dialback.Result, Dialback.Verify
-
-
Constructor Summary
Constructors Constructor Description Verify(Jid from, Jid to, String id, boolean valid)
Creates a verification result from the authoritative server to the receiving server.Verify(Jid from, Jid to, String id, String key)
Creates a verification request from the receiving server to the authoritative server.Verify(Jid from, Jid to, String id, StanzaError error)
Creates a dialback error from the authoritative server to the receiving server.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Gets the stream id.
-
-
-
Constructor Detail
-
Verify
public Verify(Jid from, Jid to, String id, String key)
Creates a verification request from the receiving server to the authoritative server.- Parameters:
from
- The target domain.to
- The sender domain.id
- The stream ID of the response stream header sent from the Receiving Server to the Initiating Server.key
- The dialback key.
-
Verify
public Verify(Jid from, Jid to, String id, boolean valid)
Creates a verification result from the authoritative server to the receiving server.- Parameters:
from
- The sender domain.to
- The target domain.id
- The stream ID.valid
- If the key could be verified.
-
Verify
public Verify(Jid from, Jid to, String id, StanzaError error)
Creates a dialback error from the authoritative server to the receiving server.- Parameters:
from
- The sender domain.to
- The target domain.id
- The stream id.error
- The error.
-
-
Method Detail
-
getId
public final String getId()
Gets the stream id.- Returns:
- The stream id.
-
-