Hi Sean,
Thanks for sharing this. Is there a way you can put this online permanently,
e.g., in a small blog post? I'm sure this is going to be of interest to other
people...
Cheers,
Adrian
On Aug 11, 2010, at 20:17 , Sean P. DeNigris wrote:
>
>
> Stéphane Ducasse wrote:
>>
>> rst?
>> RemoteSmalltalk?
>>
>
> rst = RemoteSmalltalk = SO COOL!!!
>
> I easily shared objects from a Pharo 1.1 image with 4 other local images -
> including a Squeak 4.1 image!
>
>
> For a hoot:
>
> 1. In a Pharo 1.1 image with rST installed doit:
> "Transcript open.
> RSTSamples serverStartup"
>
> 2. In a Squeak 4.1 image with rST installed doit:
> "RSTBroker
> startOnPort: self clientPort
> logging: false.
>
> remoteTranscript := ('Transcript@' , self serverBrokerID) asLocalObject.
> remoteTranscript show: 'everything is ok! (from client side)';
> cr"
>
> 3. Pick up jaw after you see that the squeak image has sent a message to the
> Pharo image's Transcript, whose contents now appear as 'everything is ok!
> (from client side)'
>
> n.b. According to the docs, in both images, doit: "RSTBroker stop"
>
>
> How to load:
> I have no write access to rST, so the required packages can be loaded as
> follows:
> "Gofer new
> squeaksource: 'KomHttpServer';
> package: 'DynamicBindings';
> load.
>
> Gofer new
> squeaksource: 'KomHttpServer';
> package: 'KomServices';
> load.
>
> Gofer new
> squeaksource: 'SPDProjectUpdates';
> package: 'rST';
> load."
>
> Thanks for the pointer!
>
> 1. This seriously frees me to play with objects in different forks and
> versions because I know I can beam the live objects to another image
> whenever I want, and not have them stranded.
> 2. This seems like it should be perfect for scripting an image, but what
> shared object would allow arbitrary code to be run on the server? I played
> with Workspace, but got lost down the delegation rabbit hole
>
> Sean
>
> p.s. I got it loading with minimal changes - just had to fix the underscore
> assignments, and break the dependency to an old version of KomServices.
> --
> View this message in context:
> http://forum.world.st/Inter-image-communication-tp2320723p2321673.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project