[Newbies] "Callback" design pattern

Ron Teitelbaum Ron at USMedRec.com
Sun Jun 3 00:28:00 UTC 2007

Hi Stephen,

If you are talking about external callbacks then Squeak doesn't currently
have external callback support, but Andreas Raab created a patch that may
solve your problem.  Check out http://news.squeak.org/2006/12/15/callbacks/.
Also it may be better to post this question to either squeak-dev or the vm
list.  Callbacks are a bit above beginners, and there are some extremely
talented developers on Squeak-dev that may be able to help you solve your

Happy coding!

Ron Teitelbaum

> -----Original Message-----
> From: beginners-bounces at lists.squeakfoundation.org [mailto:beginners-
> bounces at lists.squeakfoundation.org] On Behalf Of Stephen Davies
> Sent: Saturday, June 02, 2007 11:59 AM
> To: A friendly place to get answers to even the most basic questions
> aboutSqueak.
> Subject: [Newbies] "Callback" design pattern
> Hi,
> I've been busy with hooking Squeak to Asterisk via the Asterisk
> FastAGI protocol.
> I also want to write code to talk to the Asterisk Manager Interface.
> In both cases I need to write an interface to allow others to
> "register" to hande particular AGI call, or to "register" to hear
> about particular AMI events.
> I suppose the method of callback will boil down to "call method
> #whatever on object anObject", or maybe you could register a block to
> be evaluated.
> Now I'm sure there must be an established way to do this in Squeak and
> I'd like to use it.  Or at least code mine in the "usual style".
> So could someone point me at some classes in the system that I should look
> at?
> Thanks,
> Steve
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

More information about the Beginners mailing list