aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/xmpp/stanzas/streammgmt/AckPacket.java
blob: fe1740dab943f66031cc504b8c47239ca1b9e823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package de.thedevstack.conversationsplus.xmpp.stanzas.streammgmt;

import de.thedevstack.conversationsplus.xmpp.stanzas.AbstractStanza;

public class AckPacket extends AbstractStanza {

	public AckPacket(int sequence, int smVersion) {
		super("a");
		this.setAttribute("xmlns", "urn:xmpp:sm:" + smVersion);
		this.setAttribute("h", Integer.toString(sequence));
	}

}