blob: 0ea0d752da6d1f8ed044bf748a443f785df78b7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package de.thedevstack.conversationsplus.xmpp.disco;
import de.thedevstack.conversationsplus.entities.ServiceDiscoveryResult;
import de.thedevstack.conversationsplus.xmpp.stanzas.IqPacket;
/**
*/
public class ServiceDiscoveryIqPacketParser {
public static ServiceDiscoveryResult parse(IqPacket packet) {
if (packet.getType() == IqPacket.TYPE.RESULT) {
return new ServiceDiscoveryResult(packet);
}
return null;
}
}
|