Hi,
On the impl class on the server side of the rpc, I have a bunch of methods, and
I have only one rpc instance. Sometimes, these methods can be re-used by the
methods of the same class. I dont want to repeat the Hi Facebook code on two
methods. Is there any design pattern to solve this problem? I want to keep all
these on the server side, instead of going back to the rpc client and send
another rpc call.
For example,
loginLocal() {---}
updateLocalUserInfo() {---}
VerifyFromSocialMedia1(){
//Hi Facebook <-------------------redundant
loginLocal();
}
VerifyFromSocialMedia2(){
//Hi Facebook <-------------------redundant
updateLocalUserInfo();
}
Thanks
Ming
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.