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; } }