CarrotChat v2.8.80.240429版本的 MD5 值为:fdf98761f01e715a89df24b85b0d206e
以下内容为反编译后的 f3.java 源代码,内容仅作参考
package y0;
import android.text.TextUtils;
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 f3 extends IQ {
private final String f48227a;
private Akeychat.CancelUserApplyInfoResponse f48228b;
private String f48229c;
private boolean f48230d;
public String f48231e;
public static class a extends IQProvider {
@Override
public IQ parse(XmlPullParser xmlPullParser, int i10) throws Exception {
f3 f3Var = new f3();
boolean z10 = false;
boolean z11 = true;
while (!z10) {
int next = xmlPullParser.next();
if (next == 4) {
f3Var.parseResults(xmlPullParser);
z11 = false;
} else {
if (xmlPullParser.getName().equals("error")) {
String attributeValue = xmlPullParser.getAttributeValue(null, "code");
if (!TextUtils.isEmpty(attributeValue)) {
f3Var.f48231e = attributeValue;
}
} else if (next == 3 && !z11 && xmlPullParser.getName().equals("canceluserapplyinfo")) {
}
z10 = true;
}
}
return f3Var;
}
}
public f3() {
super("canceluserapplyinfo", "http://akey.im/protocol/xmpp/iq/canceluserapplyinfo");
this.f48227a = f3.class.getSimpleName();
this.f48231e = "";
this.f48230d = 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.f48230d) {
iQChildElementXmlStringBuilder.optElement(HiAnalyticsConstant.Direction.REQUEST, e.e.encodeBytes("".getBytes()));
} else {
iQChildElementXmlStringBuilder.optElement("result", this.f48229c);
}
return iQChildElementXmlStringBuilder;
}
public Akeychat.CancelUserApplyInfoResponse getmResponse() {
return this.f48228b;
}
protected void parseResults(XmlPullParser xmlPullParser) throws Exception {
try {
String text = xmlPullParser.getText();
this.f48229c = text;
this.f48228b = Akeychat.CancelUserApplyInfoResponse.parseFrom(e.e.decode(text));
} catch (Exception e10) {
e10.printStackTrace();
}
}
public f3(String str, String str2) {
super("canceluserapplyinfo", "http://akey.im/protocol/xmpp/iq/canceluserapplyinfo");
this.f48227a = f3.class.getSimpleName();
this.f48231e = "";
this.f48230d = true;
setType(IQ.Type.get);
setTo(ak.im.sdk.manager.f1.getInstance().getServer().getXmppDomain());
}
}