MaClientServer--which method to modify to handle objects?
kwiyi woo
kwiyiwoo at yahoo.com
Sat Jun 5 17:13:41 UTC 2004
Hello Chris,
Thanks for your kind help. I found that I need install both Monticello and SarInstaller to get MaClientServer installed. After installation, it's quite easy to play with.
I have two more questions.
My work is a client server application. What I want to do is to let the client send a request as a string to the server. After processing the request, the server will send the response that is an object to the client who will do further processing.
If I don't make a mistake, the default socket handler of the ma server is to send back an incoming request right back to client. If I want to modify this default action and handle the socket in my own way:
1) Should I modify the method "processRequest: socketAndRequestAssociation" if I run it at socket layer.
2) Which method should I modify to process the request or response as an object if I run it at object layer?
Thanks again
Kwiyi
Chris Muller <afunkyobject at yahoo.com> wrote:
Hi again, it was late when I posted below. I now realize you also probably
don't have the most updated version of SarInstaller. Get it here:
http://map1.squeakfoundation.org/sm/package/75c970ab-dca7-48ee-af42-5a013912c880
and then Ma client server will install fine. I just went back to 3.6 and tried
it and it worked for me.
Again, sorry for the inconvenience.
- Chris
--- Chris Muller wrote:
> Date: Thu, 3 Jun 2004 21:02:19 -0700 (PDT)
> From: Chris Muller
> Subject: Re: How to transmit user-defined object between client and server?
> To: Squeak List
>
> You need to install Monticello for it to install. The current version of
> Monticello I'm using is 147 I think, although I see there is now a new
> release
> of Monticello on Squeakmap.
>
>
>
http://map1.squeakfoundation.org/sm/package/66236497-7026-45f5-bcf6-ad00ba7a8a4e/autoversion/13
>
> Install this and then Ma client server should install fine. Sorry you had
> that
> problem.
>
> If that doesn't work, definitely let me know, I'll dig into it for you.
>
> - Chris
>
>
> --- kwiyi woo wrote:
> > Hi,
> > I checked the webpage. It looks great. But when I tried to install it on
> > squeak3.6, I got the following error message:
> > MessageNotUnderstood: SARInstaller>>fileInMonticellozipVersionNamed:
> > Also in the Transcipt: it said
> > (MCDirectoryRepository is Undeclared)
> >
> > I am working on Window2000. What's the problem for it?
> >
> > Thanks
> > Kwiyi
>
---------------------------------
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040605/17b8bec9/attachment.htm
More information about the Squeak-dev
mailing list
|