[ANN] Discovery 0.1 - a Bonjour-like service finder in pure Squeak

stéphane ducasse ducasse at iam.unibe.ch
Sun Apr 2 16:27:11 UTC 2006


Noury implemented UbiTalk :)
which goes in the same direction

On 2 avr. 06, at 16:08, Masashi UMEZAWA wrote:

> Hi,
>
> I've implemented a Bonjour(Rendezvous)-like thing in Squeak.
> You can publish network services in a few steps, and clients will know
> the services automatically.
>
> http://map.squeak.org/account/package/6a54b2cc-ea9b-4622-a0cb- 
> fd7222c22892
>
> Features:
> - Uses simple tab and CR separated text format to describe services.
> - Uses lightweight UDP multicast/broadcast protocol.
> - Supports publish, search, and notification of services.
> - Provides adapter for publishing existing KomServices.
>
> Examples:
>
> "Publishing (in server)"
> pub := DsPublisher defaultForMulticast
> 		registerServiceNamed: 'SuperSwikiService1'
> 		host: 'someServer'
> 		port: 8080
> 		maxAge: 5.
> pub start.
>
> "Notification - passively receive the existence of services (in  
> client)"
> DsLocator default when: #ServiceAdded send: #serviceAdded: to:
> yourServiceObserver.
>
> "Searching - actively search services (in client)"
> DsSearcher default searchAll.
>
> The framework can be used for dynamic discoveries of some cool
> services (Magma, NetMorph, etc). Clients no longer need some 'server
> location' files.
>
> Enjoy!
> --
> [:masashi | ^umezawa]
>
>




More information about the Squeak-dev mailing list