Matt Goodall
b9e29ca2b3
Make the stream's API more explicit, add some docs, improved var names.
2012-07-08 22:40:31 +01:00
Matt Goodall
23aeb1fd68
Associate a JID with an XMPP instance.
...
Client connections negotiate a bound resource JID with the server. The
bound JID may be different from the one requested or even generated by
the server.
Component connections do not negotiate the bound JID but still have a
specific JID associated with the stream.
2012-07-08 12:18:51 +01:00
Matt Goodall
678b9c48a1
Make Stream public again, so we actually get some documentation for it.
2012-07-06 14:29:15 +01:00
Matt Goodall
72dc222360
Make the stream struct private. Rename factory func.
2012-07-06 11:47:15 +01:00
Matt Goodall
627364727e
The client and component connections are really just streams too.
...
Only difference is how they're setup. After that, it's the common iq,
message, presence stuff ... to come soon.
2012-07-06 11:47:15 +01:00
Matt Goodall
4e7d9e68d1
Move xml declaration to stream.
2012-06-27 13:15:11 +01:00
Matt Goodall
7cf14c4f35
Add component API and example.
2012-06-27 13:14:18 +01:00