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

项目:Smack    文件:ParseStreamManagement.java   
public static AckAnswer ackAnswer(XmlPullParser parser) throws XmlPullParserException, IOException {
    ParserUtils.assertAtStartTag(parser);
    long h = ParserUtils.getLongAttribute(parser, "h");
    parser.next();
    ParserUtils.assertAtEndTag(parser);
    return new AckAnswer(h);
}
项目:Smack    文件:XMPPTCPConnection.java   
private void sendSmAcknowledgementInternal() throws NotConnectedException {
    packetWriter.sendStreamElement(new AckAnswer(clientHandledStanzasCount));
}
项目:androidclient    文件:XMPPTCPConnection.java   
private void sendSmAcknowledgementInternal() throws NotConnectedException, InterruptedException {
    packetWriter.sendStreamElement(new AckAnswer(clientHandledStanzasCount));
}