Package org.jivesoftware.smackx.disco
Class DiscoInfoLookupShortcutMechanism
- java.lang.Object
-
- org.jivesoftware.smackx.disco.DiscoInfoLookupShortcutMechanism
-
- All Implemented Interfaces:
java.lang.Comparable<DiscoInfoLookupShortcutMechanism>
public abstract class DiscoInfoLookupShortcutMechanism extends java.lang.Object implements java.lang.Comparable<DiscoInfoLookupShortcutMechanism>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDiscoInfoLookupShortcutMechanism(java.lang.String name, int priority)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompareTo(DiscoInfoLookupShortcutMechanism other)abstract DiscoverInfogetDiscoverInfoByUser(ServiceDiscoveryManager serviceDiscoveryManager, Jid jid)java.lang.StringgetName()intgetPriority()Get the priority of this mechanism.
-
-
-
Constructor Detail
-
DiscoInfoLookupShortcutMechanism
protected DiscoInfoLookupShortcutMechanism(java.lang.String name, int priority)
-
-
Method Detail
-
getName
public final java.lang.String getName()
-
getPriority
public final int getPriority()
Get the priority of this mechanism. Lower values mean higher priority.- Returns:
- the priority of this mechanism.
-
getDiscoverInfoByUser
public abstract DiscoverInfo getDiscoverInfoByUser(ServiceDiscoveryManager serviceDiscoveryManager, Jid jid)
-
compareTo
public final int compareTo(DiscoInfoLookupShortcutMechanism other)
- Specified by:
compareToin interfacejava.lang.Comparable<DiscoInfoLookupShortcutMechanism>
-
-