Java 类org.jivesoftware.smack.sm.packet.StreamManagement.Resumed 实例源码

项目:Smack    文件:ParseStreamManagement.java   
public static Resumed resumed(XmlPullParser parser) throws XmlPullParserException, IOException {
    ParserUtils.assertAtStartTag(parser);
    long h = ParserUtils.getLongAttribute(parser, "h");
    String previd = parser.getAttributeValue("", "previd");
    parser.next();
    ParserUtils.assertAtEndTag(parser);
    return new Resumed(h, previd);
}