sylver | 13 Oct 2008 09:05
Picon

Set Timeout during XMPP login


Hi,

Just a quick one. Can we set timeout value during user login? another
parameter for the XMPP.up()

 var account = {
        jid                : 'arthur@.../Guide',
        password           : '42',
        connectionSecurity : 1
    };
    XMPP.up(account);

Is there any other attributes beside the ones below? :
    *  jid: full JID, including resource (if not provided, will be
prompted (but other fields on the object will be ignored))
    * password: password (if not provided, will be prompted, but as
long as jid is set, will keep other fields set on the object)
    * connectionHost: host (if different from the domain part of the
JID)
    * connectionPort: port (if different from 5223)
    * connectionSecurity: SSL (0 or 1; 1 is default)

Thanks :D

Brett Zamir | 13 Oct 2008 16:23
Picon

Re: Set Timeout during XMPP login


Hi,

There is no such option (at least at present).

Also, the docs really should all be up to date now for all public 
methods (the events pages need some clean up though). There's also a 
wiki page on internals that covers some functions in more depth 
(assuming I outlined them fully accurately--but I should have at least 
discussed all possible eventualities evident in the functions where not 
covered in the API now). But the API docs should, I think, all be 
comprehensive and valid.

best wishes,
Brett

sylver wrote:
> Hi,
>
> Just a quick one. Can we set timeout value during user login? another
> parameter for the XMPP.up()
>
>  var account = {
>         jid                : 'arthur@.../Guide',
>         password           : '42',
>         connectionSecurity : 1
>     };
>     XMPP.up(account);
>
> Is there any other attributes beside the ones below? :
(Continue reading)

sylver | 14 Oct 2008 09:18
Picon

Re: Set Timeout during XMPP login


Thanks for your reply.

I looked through the API docs yesterday and found no entry on this
matter too.

Is there a way to cut off the "connecting" session (the one where the
progress bar appear at bottom-right of the browser) so that users know
they need to relogin? Hiding the progress bar didn't help much.

Thanks :D

On Oct 13, 7:23 am, Brett Zamir <bret...@...> wrote:
> Hi,
>
> There is no such option (at least at present).
>
> Also, the docs really should all be up to date now for all public
> methods (the events pages need some clean up though). There's also a
> wiki page on internals that covers some functions in more depth
> (assuming I outlined them fully accurately--but I should have at least
> discussed all possible eventualities evident in the functions where not
> covered in the API now). But the API docs should, I think, all be
> comprehensive and valid.
>
> best wishes,
> Brett
>
> sylver wrote:
> > Hi,
(Continue reading)

davyfeng | 25 Oct 2008 17:19
Picon

How can i use samplace as a client to access to local jabber server such as openfire?


I want to set up a IM system in a local network, and i want to choose
sameplace as client,  some jabber server such as openfire as the
server, it's that possialbe? if so, how can i do it , or what i need
to do to make it possible?

thank you


Gmane