fscom.proxy: Functions Modinfo Source  

Proxy Objects

Create proxy objects that redirect every method call to one single function. Use this to perform security checks on method calls, log method calls, dispatch method calls, etc.

To create a proxy object, you have to add {proxy} to your type. Then have buildproxies run on your source file. This will generate a proxy type called YourTypeProxy. Use CreateProxy("YourType",...) to obtain a well prepared object of this proxy type.

Functions Summary

CreateProxy Create an proxy object for a type.

Functions

Function CreateProxy:Object(typeName:String ,targetFunction:Object(this:Object , methodName:String , params:Object[] , metadata:String[], context:Object), context:Object=Null)
DescriptionCreate an proxy object for a type.

Module Information

Version1.1
AuthorFrancesco Silvani
Licensezlib/libpng
History1.1
HistoryAdded context variable