15 .3 representatives object
If we have a program,It has a lot of processing boy or girl friends,These processing objects just are " knowledge " true owner.The business that we should do is in how putting these targets to different machine,Realize distributed computation.How to accomplish this?In PowerBuilder,Normally the practice is,First NVO of these object make it,Come out the interface abstraction of NVO next,Make it is additional a kind of special target,We call it the representative (Proxy) .The exterior interface just the same of representative and NVO,If a NVO has three public function,With a communal variable,So,Its representative also has three communal case. Number and a communal variable.Notice,We mention public function and variable only,If be them,be illicit some,Won't appear in the representative.Because of this,To realize distributed computation,We should build a such distributed object models:Applied process should need distributed calculative content forms one or more blame to be able to look a boy or girl friend,Namely NVO,The interface target that makes NVO according to NVO next,Act as agent namely object,Next,The NVO that we run true implementation program is put to server end,Put acting target in the client implement on end,This core with respect to model of PB distributed object.Next,Make us relatively detailed object of ground description representative.
...