Branch: Tag:

1997-09-16

1997-09-16 19:01:44 by David K├ągedal <david@kagedal.org>

This is the first version. It works.

Rev: lib/modules/Remote.pmod/Client.pike:1.1
Rev: lib/modules/Remote.pmod/Server.pike:1.1
Rev: lib/modules/Remote.pmod/call.pike:1.1
Rev: lib/modules/Remote.pmod/connection.pike:1.1
Rev: lib/modules/Remote.pmod/context.pike:1.1
Rev: lib/modules/Remote.pmod/obj.pike:1.1
Rev: lib/modules/Remote.pmod/remote.h:1.1

1:    + #include "remote.h" +  + string id; + object con; + object ctx; +  + mapping calls = ([ ]); +  + mixed get_function(string f) + { +  object call = calls[f]; +  if (!call) +  call = calls[f] = Call(id, f, con, ctx); +  return call; + } +  + mixed `[] (string f) + { +  return get_function(f); + } +  + mixed `-> (string f) + { +  return get_function(f); + } +  + void create(string i, object cn, object ct) + { +  id = i; +  con = cn; +  ctx = ct; + }   Newline at end of file added.