Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Parsing XML from packet

$
0
0

Hello everyone I'm trying to parse packet from the following function

 

 

publicvoid interceptPacket(Packet packet, Session session, boolean incoming, boolean processed)

            throws PacketRejectedException {

        if (!processed && incoming) {

            Log.info("INTERPRETED: " + packet.toXML());

        }

    }

 

I am trying to examine the xmlns of the packet, but it seems like packet doesn't have getters such as getAttributes(), or getXMLNS(). Is there anyway that I can parse the packet better?

 

Thank you.


Viewing all articles
Browse latest Browse all 10742

Trending Articles