Package org.jivesoftware.smackx.disco
Class DiscoInfoLookupShortcutMechanism
- java.lang.Object
-
- org.jivesoftware.smackx.disco.DiscoInfoLookupShortcutMechanism
-
- All Implemented Interfaces:
Comparable<DiscoInfoLookupShortcutMechanism>
public abstract class DiscoInfoLookupShortcutMechanism extends Object implements Comparable<DiscoInfoLookupShortcutMechanism>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDiscoInfoLookupShortcutMechanism(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)StringgetName()intgetPriority()Get the priority of this mechanism.
-
-
-
Constructor Detail
-
DiscoInfoLookupShortcutMechanism
protected DiscoInfoLookupShortcutMechanism(String name, int priority)
-
-
Method Detail
-
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 interfaceComparable<DiscoInfoLookupShortcutMechanism>
-
-