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

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

public class ResumePacket extends AbstractStanza {

	public ResumePacket(String id, int sequence, int smVersion) {
		super("resume");
		this.setAttribute("xmlns", "urn:xmpp:sm:" + smVersion);
		this.setAttribute("previd", id);
		this.setAttribute("h", Integer.toString(sequence));
	}

}