ResumePacket.java
1package eu.siacs.conversations.xmpp.stanzas.streammgmt;
2
3import eu.siacs.conversations.xmpp.stanzas.AbstractStanza;
4
5public class ResumePacket extends AbstractStanza {
6
7 public ResumePacket(String id, int sequence, int smVersion) {
8 super("resume");
9 this.setAttribute("xmlns", "urn:xmpp:sm:" + smVersion);
10 this.setAttribute("previd", id);
11 this.setAttribute("h", Integer.toString(sequence));
12 }
13
14}