Ma Client Server missing methods

Chris Muller chris at funkyobjects.org
Tue Aug 23 16:59:21 UTC 2005


Hello,

> Does anyone use Ma Client Server ?

Yes, I use it extensively.

> I tried the last versions available on squeaksource (the last is Ma client
> server-cmm.96) on the examples given at
> http://minnow.cc.gatech.edu/squeak/2978 but some methods are missing (for
> example MaServerSocket>>listenOn:answer:,  MaServer>>processRequestByteArray:
> or MaObjectSerializer>>classDefinitions:).

Thanks for your report.  The latest version was only posted to SqueakMap, but I
have just now posted it to SqueakSource as well.

1) MaServerSocket>>listenOn:answer:
I have no idea what happened to this method, but I have put it back.

2) MaServer>>processRequestByteArray:
This is not missing, it just shouldn't be used as the do-nothing server stub. 
I have corrected MaServerSocket>>#initialize.  Normally, your server will be
doing something so you shouldn't need this method.

3) MaObjectSerializer>>classDefinitions:
This is a Magma method, you should not need it for Ma client server.  Is there
some reason you need it for Ma client server?

> How can I do to make a simple client-server test ?

The version on SqueakMap includes a simple demonstration using the ByteArray
layer.  Install the one from SqueakMap and then find the files "clientTest.ws"
and "serverTest.ws".  Inspect serverTest first, then go to the client image,
open a Transcript then run the script.

Let me know if you have any questions.

 - Chris



More information about the Squeak-dev mailing list