On Friday, October 25, 2002, at 03:08 PM, Trey Harris wrote:

No, the app will be in Perl, but I'm using CamelBones, so I assume I can
link into random ObjC Cocoa code, though I haven't tried that yet.
Unfortunately, the current version of CamelBones uses a set of hand-rolled "wrapper" classes. So, in order to use "random" ObjC code, you'll need to write a "wrapper" class around the relevant classes, like so:

@NSNetService::ISA = qw(Exporter NSObject);
@NSNetServiceBrowser::ISA = qw(Exporter NSObject);

The next version - due in late Oct or early Nov - automatically generates wrappers for all linked classes.

Rendezvous will only help with advertising and discovery of machines on the network that provide a service. You'll still need to use traditional methods to actually implement the service itself. Of course, if your app uses a standard protocol such as HTTP or SOAP for low-level communication, there are CPAN modules that will do much of the heavy lifting for you.

Ideally I'd like to have some sort of auto-discovery mechanism.
If Rendezvous works as advertised, that's precisely what it does. I haven't upgraded to Jaguar yet, and I'm very interested in hearing about how well it works.

sherm--

If you listen to a UNIX shell, can you hear the C?



Reply via email to