CarrotChat v2.8.60.240131版本的 MD5 值为:2baf8b9f31830b86b5c5a85ae6b47e05
以下内容为反编译后的 z2.java 源代码,内容仅作参考
package ak.smack;
import ak.im.sdk.manager.nf;
import ak.im.utils.Log;
import com.asim.protobuf.Akeychat;
import org.jivesoftware.smack.packet.IQ;
import org.jivesoftware.smack.provider.IQProvider;
import org.xmlpull.v1.XmlPullParser;
public class z2 extends b {
private final String a;
private Akeychat.VoipUserSessionQueryResponse f4822b;
public static class a extends IQProvider {
@Override
public IQ parse(XmlPullParser xmlPullParser, int i) throws Exception {
z2 z2Var = new z2();
boolean z = false;
while (!z) {
int next = xmlPullParser.next();
if (next == 4) {
z2Var.parseResults(xmlPullParser);
} else if (next == 3 && xmlPullParser.getName().equals("voipusersessionquery")) {
z = true;
}
}
return z2Var;
}
}
public z2() {
super("voipusersessionquery", "http://akey.im/protocol/xmpp/iq/voipusersessionquery", nf.getIQFromTo());
this.a = "QuaryCurrentVoipIQ";
setType(IQ.Type.get);
}
@Override
protected IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder iQChildElementXmlStringBuilder) {
iQChildElementXmlStringBuilder.append(">");
return iQChildElementXmlStringBuilder;
}
public Akeychat.VoipUserSessionQueryResponse getmDelSessionResult() {
return this.f4822b;
}
protected void parseResults(XmlPullParser xmlPullParser) throws Exception {
try {
String text = xmlPullParser.getText();
this.f4822b = Akeychat.VoipUserSessionQueryResponse.parseFrom(ak.comm.d.decode(text));
Log.i("QuaryCurrentVoipIQ", "parse result text:" + text);
} catch (Exception e2) {
Log.w("QuaryCurrentVoipIQ", "encounter excp in parse results" + e2.getMessage());
}
}
}