Fwd: Re: Magma...
Chris Muller
afunkyobject at yahoo.com
Sat Jul 10 15:57:36 UTC 2004
--- Chris Muller <afunkyobject at yahoo.com> wrote:
> Date: Sat, 10 Jul 2004 08:57:08 -0700 (PDT)
> From: Chris Muller <afunkyobject at yahoo.com>
> Subject: Re: Magma...
> To: Kamil Kukura <kamk at volny.cz>
>
>
> > It is 1.0gamma6 on 3.6.2 (windows). As Avi mentioned in other post it is
> > issue with connecting to server that is not running. So it is simple:
> >
> > s := MagmaSession
> > hostAddress: #(127 0 0 1) asByteArray
> > port: 51969.
> > s connectAs: 'kamk'.
>
> This is nothing more than having Magma in debug mode, which sets the timeout
> to
> 2 days instead of 30 seconds. Run this:
>
> MagmaPreferences debug: false.
>
> and, while you're at it:
>
> MaClientServerPreferences debug: false.
>
> > It will get stuck in MaTcpRequestServerLink>>submit: with parameter
> > 'connect'. Also, what is the purpose of that user string?
>
> Now if you try to connect to a server that isn't running, it will timeout in
> 30
> seconds instead of 2 days. It's not "stuck" it is just waiting patiently..
> :)
>
> The defaults for both of these are false, so I'm not sure what prompted you
> to
> change them to true.
>
> > Another question is, when I start the server as with:
> >
> > MagmaServerConsole new
> > open: 'magma file..'
> > processOn: 51969.
> >
> > but I accidentaly forget to inspect it and I just "do it" instead, how
> > do I access the server then?
>
> Well, I suppose you can do MagmaServerConsole allInstances and inspect that.
>
> Base Magma doesn't come with any kind of user-interface. I will probably
> release one as a separate package in the future, but very low on my list
> right
> now. Of course, you're welcome to create one yourself!
>
> I hope this helps! Please let me know if you run into any other questions.
>
> Cheers,
> Chris
>
More information about the Squeak-dev
mailing list
|