Updated the client and component examples.

The component example now actually uses a config.xml file for its
connection information, and to initialize a roster.
This commit is contained in:
Lance Stout
2010-09-01 18:18:30 -04:00
parent 9bef4b4d4d
commit 0b4320a196
5 changed files with 304 additions and 69 deletions

10
examples/config.xml Normal file
View File

@@ -0,0 +1,10 @@
<config xmlns="sleekxmpp:config">
<jid>component.localhost</jid>
<secret>ssshh</secret>
<server>localhost</server>
<port>8888</port>
<query xmlns="jabber:iq:roster">
<item jid="user@example.com" subscription="both" />
</query>
</config>