CarrotChat v2.8.80.240429版本的 MD5 值为:fdf98761f01e715a89df24b85b0d206e
以下内容为反编译后的 y3.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 y3 extends IQ {
private final String f49063a;
private Akeychat.CurrentTrustDeviceTypeResponse f49064b;
private String f49065c;
private boolean f49066d;
public static class a extends IQProvider {
@Override
public IQ parse(XmlPullParser xmlPullParser, int i10) throws Exception {
y3 y3Var = new y3();
boolean z10 = false;
while (!z10) {
int next = xmlPullParser.next();
if (next == 4) {
y3Var.parseResults(xmlPullParser);
} else if (next == 3 && xmlPullParser.getName().equals("currentrustdevicetype")) {
z10 = true;
}
}
return y3Var;
}
}
public y3() {
super("currentrustdevicetype", "http://akey.im/protocol/xmpp/iq/currentrustdevicetype");
this.f49063a = y3.class.getSimpleName();
this.f49066d = true;
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.f49066d) {
iQChildElementXmlStringBuilder.optElement(HiAnalyticsConstant.Direction.REQUEST, e.e.encodeBytes("".getBytes()));
} else {
iQChildElementXmlStringBuilder.optElement("result", this.f49065c);
}
return iQChildElementXmlStringBuilder;
}
public Akeychat.CurrentTrustDeviceTypeResponse getmResponse() {
return this.f49064b;
}
protected void parseResults(XmlPullParser xmlPullParser) throws Exception {
try {
String text = xmlPullParser.getText();
this.f49065c = text;
this.f49064b = Akeychat.CurrentTrustDeviceTypeResponse.parseFrom(e.e.decode(text));
} catch (Exception e10) {
e10.printStackTrace();
}
}
public y3(String str, String str2) {
super("currentrustdevicetype", "http://akey.im/protocol/xmpp/iq/currentrustdevicetype");
this.f49063a = y3.class.getSimpleName();
this.f49066d = true;
setType(IQ.Type.get);
setTo(ak.im.sdk.manager.f1.getInstance().getServer().getXmppDomain());
}
}