blob: 4c0ddfab370526eeab7da75bbffaa0681ce9d08c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* Copyright (c) 2010-2015, Isode Limited, London, England.
* All rights reserved.
*/
package com.isode.stroke.disco;
import com.isode.stroke.elements.DiscoInfo;
import com.isode.stroke.jid.JID;
import com.isode.stroke.signals.Signal1;
/**
* This class provides information about capabilities of entities on the network.
* This information is provided in the form of service discovery
* information.
*/
public abstract class EntityCapsProvider {
/**
* Returns the service discovery information of the given JID.
*/
public abstract DiscoInfo getCaps(final JID jid);
/**
* Emitted when the capabilities of a JID changes.
*/
public final Signal1<JID> onCapsChanged = new Signal1<JID>();
}
|