Hacker News new | past | comments | ask | show | jobs | submit login

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.



https://github.com/igniterealtime/Smack/blob/master/smack-xm...

I don't see any opportunity not to block when calling "next"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: