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