c++ - What is best design pattern for handling rpc requests? -


i'm developing json-rpc project in c++. i've not decided yet how handle rpc's requests. client side, server receives jsons below.

{"method":"app1hoge", ...} {"method":"app1fuga", ...} {"method":"app2foo", ...} 

the server side handles applications, app1, app2, etc. think should design applicationrule class each class. in case, app1rule , app2rule classes needed. , should design applicationrulemanager handle each rule. i'm not sure how design applicationrulemanager.

in general, how should design relationship between applicationrulemanager , each applicationrule? strategy pattern familiar case?

any appreciated.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -