Re: binding non-leaf nodes

Air France - Kamyar Djoneidi (kdjoneidi@orly363.airfrance.fr)
Tue, 10 Sep 1996 11:27:35 +0200


> kdjoneidi@orly363.airfrance.fr (Air France - Kamyar Djoneidi) said:
>
> Air> I would like my scotty agent be a proxy to the unix agent
> Air> running on my host.
>
> Well, the short answer is that scotty does not easily work as a proxy.
> The reason is that scotty wants to know the instance when it starts to
> process a request. A proxy usually does not know anything about the
> remote instances when it starts processing the request. You can
> probably hack around this by using "begin" bindings and doing the
> remote request before letting scotty answer the request. But this
> might become an ugly Tcl script.
> Juergen

I did what you call "an ugly Tcl script" and it works.
But I had to add a kind of polling in order to take in account new instances which are created whitin my unix agent.
This is really much uglier.
Another idea could be to combine Scotty with Damocles agent written by students of the university of Twente. Then, for each retrieval on a Oid, I do the remote request (using Scotty). No need tu use binding.

Thank you Juergen for you kind responses,

Kamyar