[JDEV] Need help with jabber beans
David Waite
mass at ufl.edu
Fri Aug 18 14:02:05 CDT 2000
Expect a FAQ on the website (http://jabberbeans.org) soon. In the meantime:
- you use jabber:iq:register to create an account. When you first connect,
send an InfoQuery request (type=get) to the server, containing an
IQRegisterExtension. You will receive a result InfoQuery with a list of all
the fields in the registerExtension, as well as information like
instructions. Fill all these in and send it off. You will receive back
either a result (meaning the account was created) or an error.
ConnectionBean.connect() and disconnect() do the actual network connection
to the server, but to receive presence and messages (and to be visible
online) you have to become available, which can be done by sending presence
out (type=available, which is the default)
-David Waite
> -----Original Message-----
> From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of
> Amarnath Yara
> Sent: Friday, August 18, 2000 2:24 PM
> To: jdev at jabber.org
> Subject: [JDEV] Need help with jabber beans
>
>
> Hi all, I am trying to make a simple client using jabber beans. I have
> modified the jtest2 and could chat using an existing userid and
> password and
> not with a new username and password. Also I have no clue how to
> disconnect.
> Is there any way by which I can create new account, connect and also
> disconnect. I am looking forward for suggestions from you all. Thanks..
>
> With Regards,
> Amar.
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list