--XZLT0nNRngx3qG4/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Stephan K?mper (Stephan.Kaemper / Schleswig-Holstein.de) wrote:

> For Notifier:
> [979] stk@tao ~/devel/util: ruby Notifier.rb
> druby://tao:4711
> Changing:  4
>=20
> Now, why does it say >>> druby://tao:33324 <<< in the 1st line of th outp=
ut?
> And how can I stop this?

I take it you mean for the notifier?

> Now the 'compressed' notifier looks like this...
>=20
> require 'drb'
> require 'drb/observer'
>=20
> class Notifier
>   include Observable
>   include DRb::DRbUndumped
>=20
>   def change( i )
>     puts "Changing: #{'%2d' % i}"
>     changed( true )
>     notify_observers( Time.now, i )
>   end
> end
>=20
> DRb.start_service( 'druby://tao:4711', Notifier.new )
> puts DRb.uri
  ^^^^
This is why

> DRb.thread.join

--=20
Eric Hodel - drbrain / segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04


--XZLT0nNRngx3qG4/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/97A9MypVHHlsnwQRAvfcAJ48rGcH2R9S+LefQy7Mnh+KPC5GewCdGYXP
ts0nnSzj/7fYioGKNn8EAFg=
=caFR
-----END PGP SIGNATURE-----

--XZLT0nNRngx3qG4/--

Stephan K?mper (Stephan.Kaemper / Schleswig-Holstein.de) wrote:

> For Notifier:
> [979] stk@tao ~/devel/util: ruby Notifier.rb
> druby://tao:4711
> Changing:  4
>=20
> Now, why does it say >>> druby://tao:33324 <<< in the 1st line of th outp=
ut?
> And how can I stop this?

I take it you mean for the notifier?

> Now the 'compressed' notifier looks like this...
>=20
> require 'drb'
> require 'drb/observer'
>=20
> class Notifier
>   include Observable
>   include DRb::DRbUndumped
>=20
>   def change( i )
>     puts "Changing: #{'%2d' % i}"
>     changed( true )
>     notify_observers( Time.now, i )
>   end
> end
>=20
> DRb.start_service( 'druby://tao:4711', Notifier.new )
> puts DRb.uri
  ^^^^
This is why

> DRb.thread.join

--=20
Eric Hodel - drbrain / segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/97A9MypVHHlsnwQRAvfcAJ48rGcH2R9S+LefQy7Mnh+KPC5GewCdGYXP
ts0nnSzj/7fYioGKNn8EAFg=
=caFR
-----END PGP SIGNATURE-----