[REBOL] ANN: Rugby XPi beta1
From: koopmans:itr:ing:nl at: 24-Jan-2002 17:39
All,
I am pleased to announce the beta1 of Rugby XPi.
Get it at http://www.rebolforces.com/~erebol/rugbyxpi_b1.tar.gz
This mail is the README so....
I have added the following functions:
functions? ; return a function list
ping ;alive?
add-functions ; add a block of functions from the service
remove-functions; remove a block of functions from the service
exec-code; execute a block of code in the service
start-profiling; start the profiler on the served functions
profile-data; return the profiled data
reset-profiler; reset the profiler info
set-pass-phrase; set the password for the above functions
All of the functions require a password, defaults to "welcome"
These functions lay the foundation for mobile code and a module system.
The profiler is Frank Sievertsen's FX5 profiler in a modified form.
So typically you'd do
set-pass-phrase "more secret"
serve [echo]
>From a client side you can now:
demo: context get-rugby-service tcp://localhost:8001
p: "more secret"
demo/functions? p
demo/start-profiling p
demo/exec-code p [ echo2: does [ return "Hello"]]
demo/add-functions p [echo2]
;update the local code
demo: context get-rugby-service tcp://localhost:8001
demo/echo2
print demo/profile-data
What's next?
- Adding a module system, module exchange and migration.
- XML-RPC is already/still included. Load balancing may follow.
Graphical tools for management of services
I also fixed some bugs in the secure layer when starting http transport on
the non-default port.
--Maarten