CarrotChat v2.8.80.240429版本的 MD5 值为:fdf98761f01e715a89df24b85b0d206e
以下内容为反编译后的 a3.java 源代码,内容仅作参考
package y0;
import com.asim.protobuf.Akeychat;
import com.huawei.hms.support.hianalytics.HiAnalyticsConstant;
import org.jivesoftware.smack.packet.IQ;
import org.jivesoftware.smack.provider.IQProvider;
import org.xmlpull.v1.XmlPullParser;
public class a3 extends IQ {
private final String f48044a;
private Akeychat.QueryActivationCodeResponse f48045b;
private String f48046c;
private boolean f48047d;
private String f48048e;
public static class a extends IQProvider {
@Override
public IQ parse(XmlPullParser xmlPullParser, int i10) throws Exception {
a3 a3Var = new a3();
boolean z10 = false;
while (!z10) {
int next = xmlPullParser.next();
if (next == 4) {
a3Var.parseResults(xmlPullParser);
} else if (next == 3 && xmlPullParser.getName().equals("queryactivationcode")) {
z10 = true;
}
}
return a3Var;
}
}
public a3(String str) {
super("queryactivationcode", "http://akey.im/protocol/xmpp/iq/queryactivationcode");
this.f48044a = a3.class.getSimpleName();
this.f48047d = true;
this.f48048e = str;
setType(IQ.Type.get);
setTo(ak.im.sdk.manager.f1.getInstance().getServer().getXmppDomain());
}
@Override
protected IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder iQChildElementXmlStringBuilder) {
iQChildElementXmlStringBuilder.append(">");
if (this.f48047d) {
Akeychat.QueryActivationCodeRequest.b newBuilder = Akeychat.QueryActivationCodeRequest.newBuilder();
newBuilder.setOrderId(this.f48048e);
iQChildElementXmlStringBuilder.optElement(HiAnalyticsConstant.Direction.REQUEST, e.e.encodeBytes(newBuilder.build().toByteArray()));
} else {
iQChildElementXmlStringBuilder.optElement("result", this.f48046c);
}
return iQChildElementXmlStringBuilder;
}
public Akeychat.QueryActivationCodeResponse getmResponse() {
return this.f48045b;
}
protected void parseResults(XmlPullParser xmlPullParser) throws Exception {
try {
String text = xmlPullParser.getText();
this.f48046c = text;
this.f48045b = Akeychat.QueryActivationCodeResponse.parseFrom(e.e.decode(text));
} catch (Exception e10) {
e10.printStackTrace();
}
}
public a3() {
super("queryactivationcode", "http://akey.im/protocol/xmpp/iq/queryactivationcode");
this.f48044a = a3.class.getSimpleName();
}
}