Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12000

Re: How to receive Packet payload that is shown in Debugger

$
0
0

I got it on my own by implementing the following IQProvider:

 

publicclass HarmonyHubResponseIQProvider implements IQProvider{

 

          public IQ parseIQ(XmlPullParser parser) throws Exception {

 

                    String errorCode = parser.getAttributeValue(null, "errorcode");

                    String errorMessage = parser.getAttributeValue(null, "errorstring");

                    String content = parser.nextText();

 

                    returnnew HarmonyHubResponseIQ(errorCode, errorMessage, content);

          }

 

}


Viewing all articles
Browse latest Browse all 12000

Trending Articles