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 protected
DiscoInfoLookupShortcutMechanism(java.lang.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)
java.lang.String
getName()
int
getPriority()
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:
compareTo
in interfacejava.lang.Comparable<DiscoInfoLookupShortcutMechanism>
-
-