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
ModifierConstructorDescriptionprotected
DiscoInfoLookupShortcutMechanism
(String name, int priority) -
Method Summary
Modifier and TypeMethodDescriptionfinal int
abstract DiscoverInfo
getDiscoverInfoByUser
(ServiceDiscoveryManager serviceDiscoveryManager, Jid jid) final String
getName()
final int
Get the priority of this mechanism.
-
Constructor Details
-
DiscoInfoLookupShortcutMechanism
-
-
Method Details
-
getName
-
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
- Specified by:
compareTo
in interfaceComparable<DiscoInfoLookupShortcutMechanism>
-