CarrotChat v2.8.80.240429版本的 MD5 值为:fdf98761f01e715a89df24b85b0d206e
以下内容为反编译后的 x1.java 源代码,内容仅作参考
package y0;
import ak.im.utils.Log;
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 x1 extends IQ {
private final String f49001a;
private boolean f49002b;
private String f49003c;
private String f49004d;
private Akeychat.McuInviteListResponse f49005e;
public static class a extends IQProvider {
@Override
public IQ parse(XmlPullParser xmlPullParser, int i10) throws Exception {
x1 x1Var = new x1();
boolean z10 = false;
while (!z10) {
int next = xmlPullParser.next();
if (next == 4) {
x1Var.parseResults(xmlPullParser);
} else if (next == 3 && xmlPullParser.getName().equals("mcuinvitelistrequest")) {
z10 = true;
}
}
return x1Var;
}
}
public x1(String str) {
super("mcuinvitelistrequest", "http://akey.im/protocol/xmpp/iq/mcuinvitelistrequest");
this.f49001a = "MCUMemberQueryExtension";
this.f49002b = true;
this.f49003c = str;
setType(IQ.Type.get);
setTo(ak.im.sdk.manager.f1.getInstance().getServer().getXmppDomain());
setFrom(ak.im.utils.q5.getJidByName(ak.im.sdk.manager.f1.getInstance().getUsername()));
}
@Override
protected IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder iQChildElementXmlStringBuilder) {
iQChildElementXmlStringBuilder.append(">");
if (this.f49002b) {
Akeychat.McuInviteListRequest.b newBuilder = Akeychat.McuInviteListRequest.newBuilder();
newBuilder.setCallId(this.f49003c);
iQChildElementXmlStringBuilder.optElement(HiAnalyticsConstant.Direction.REQUEST, e.e.encodeBytes(newBuilder.build().toByteArray()));
} else {
iQChildElementXmlStringBuilder.optElement("result", this.f49004d);
}
return iQChildElementXmlStringBuilder;
}
public Akeychat.McuInviteListResponse getmResponse() {
return this.f49005e;
}
protected void parseResults(XmlPullParser xmlPullParser) throws Exception {
try {
String text = xmlPullParser.getText();
this.f49004d = text;
this.f49005e = Akeychat.McuInviteListResponse.parseFrom(e.e.decode(text));
Log.i("MCUMemberQueryExtension", "we get voip invite request result:" + this.f49005e);
} catch (Exception e10) {
e10.printStackTrace();
}
}
public x1() {
super("mcuinvitelistrequest", "http://akey.im/protocol/xmpp/iq/mcuinvitelistrequest");
this.f49001a = "MCUMemberQueryExtension";
this.f49002b = false;
}
}