1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 15:52:06 +01:00

Add javadoc for SASLMechanism.getPriority()

This commit is contained in:
Florian Schmaus 2017-03-18 13:18:24 +01:00
parent de783dce73
commit 762939068b

View file

@ -279,6 +279,11 @@ public abstract class SASLMechanism implements Comparable<SASLMechanism> {
*/ */
public abstract String getName(); public abstract String getName();
/**
* Get the priority of this SASL mechanism. Lower values mean higher priority.
*
* @return the priority of this SASL mechanism.
*/
public abstract int getPriority(); public abstract int getPriority();
public abstract void checkIfSuccessfulOrThrow() throws SmackException; public abstract void checkIfSuccessfulOrThrow() throws SmackException;