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

import de.pixart.messenger.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));
    }

}