Callwrapper provides two objects:
The callObject object, for calling a specific function belonging to an object.
The callInterface object, for providing access to up to many different functions belonging to an object.
The objects make sure that the function exists, and the callInterface can automatically guess what functions should be callable, based on their name (Rather, it will not allow you to call functions that are considered private).
This library stems from the ideas discussed in the DevTalk article, Design in BYOND: Interfaces?. Demo code is available in demo.dm, the library can be run by itself to run the demo code.
There is currently no documentation other than the code shown in demo.dm - That will change in the Near Future(tm).
Feb 21 2011, 12:00 am