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 protected
DiscoInfoLookupShortcutMechanism(String name, int priority)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
compareTo(DiscoInfoLookupShortcutMechanism other)
abstract DiscoverInfo
getDiscoverInfoByUser(ServiceDiscoveryManager serviceDiscoveryManager, Jid jid)
String
getName()
int
getPriority()
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:
compareTo
in interfaceComparable<DiscoInfoLookupShortcutMechanism>
-
-