4 ms·
Smack uses an XML pull parser and non-blocking I/O. It does so by splitting the XMPP stream top-level elements first and only feeding complete elements to the p
by Flowdalic 4y ago
Smack uses an XML pull parser and non-blocking I/O. It does so by splitting the XMPP stream top-level elements first and only feeding complete elements to the pull parser.
- forty 4y agohttps://github.com/igniterealtime/Smack/blob/master/smack-xmlparser-stax/src/main/java/org/jivesoftware/smack/xml/stax/StaxXmlPullParser.java https://github.com/igniterealtime/Smack/blob/master/smack-xm... I don't see any opportunity not to block when calling "next"