{"id":16109880,"url":"https://github.com/clausklein/callback_quoter","last_synced_at":"2025-08-16T07:03:18.440Z","repository":{"id":44642228,"uuid":"454864877","full_name":"ClausKlein/Callback_Quoter","owner":"ClausKlein","description":"taox11 CORBA example","archived":false,"fork":false,"pushed_at":"2023-10-05T19:50:43.000Z","size":221,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-02-12T11:13:39.616Z","etag":null,"topics":["corba","cpp17","taox11"],"latest_commit_sha":null,"homepage":"https://www.taox11.org/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ClausKlein.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-02T17:09:33.000Z","updated_at":"2024-12-15T20:03:14.000Z","dependencies_parsed_at":"2024-12-19T13:10:39.164Z","dependency_job_id":null,"html_url":"https://github.com/ClausKlein/Callback_Quoter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClausKlein%2FCallback_Quoter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClausKlein%2FCallback_Quoter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClausKlein%2FCallback_Quoter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClausKlein%2FCallback_Quoter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClausKlein","download_url":"https://codeload.github.com/ClausKlein/Callback_Quoter/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247438095,"owners_count":20938864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["corba","cpp17","taox11"],"created_at":"2024-10-09T19:34:48.561Z","updated_at":"2025-04-06T05:22:53.949Z","avatar_url":"https://github.com/ClausKlein.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n******************************************************************************\nCALLBACK QUOTER TEST EXAMPLE                           -- Kirthika Parameswaran\n                                                          \u003ckirthika@cs.wustl.edu\u003e\n******************************************************************************\n\nThis is an distributed application which highlights the importance\nof the callback feature in helping meet the demands of various clients\nwithout them having to poll continuously for input from the server.\n\nThere are three parts to the Callback Quoter Example.\n\n1) Supplier\n2) Notifier\n3) Consumer\n\n\nIn detail:\n_________\n\n1) Supplier\n--is the market feed daemon who keeps feeding the current stock\ninformation to the Notifier periodically.\nThe timer handler has been used in the implementation of the daemon\nprocess. It reads the current stock value from a file and sends it to\nthe Notifier.\n\n2) Notifier\n-- On getting information form the supplier, it checks whether there are\nany consumers interested in the information and accordingly sends it to\nthem. The consumer object is registered with the notifier and the data\nis pushed to the consumer using this reference.\n\n3) Consumer\n-- He is the stock broker interested in the stock values in the market.\nHe will make decisions of selling only if the stock he is interested in\nhas a price greater than the threshold value he has set for that stock.\nHe just registers himself with the Notifier. This saves the time he wastes in\nsimply polling for information from the Notifier.\nThis is the callback feature in this example.\n\n\nRunning the application:\n________________________\n\nCASE I: USing the Naming Service\n================================\n\na) Non-interactive\n\n  SImply execute the ./run_test.pl, ofcourse after you start off the Naming Service.\n\nb) Interactive\n\nThere are 3  parts to it:\n\n1) shell 1: type at the command prompt:\n\n./notifier\n\n\n\n2) shell 2: type at the command prompt:\n\n./consumer\n\nregister yourself with 'r'\nEnter the stockname and value.\nNow wait for information to arrive.\n\nYou can  unregister by typing 'u' and quit by typing 'q'.\n\n\n\n3) shell 3: type at the command prompt:\n\n./supplier -ifilename\n\nThe -i option simply tells the daemon where to pick information from.\nTIP:: the contents of the input file per line should be: stockname and its price.\n      Sample: ./example.stocks\n\nThe other option includes setting the period for the stock feed.\n\n----------------------------------------------------------------------------\n\nCASE II: Without using the Naming Service.\n=========================================\n\nThere are 3  parts to it:\n\n1) shell 1: type at the command prompt:\n\n./notifier -fior_file -s\n\n\n\n2) shell 2: type at the command prompt:\n\n./consumer -fior_file -s\n\nregister yourself with 'r'\nEnter the stockname and value.\nNow wait for information to arrive.\n\nYou can  unregister by typing 'u' and quit by typing 'q'.\n\n\n\n3) shell 3: type at the command prompt:\n\n./supplier -ifilename -fior_file -s\n\nThe -i option simply tells the daemon where to pick information from.\nTIP:: the contents of the input file per line should be: stockname and its price.\n      Sample: ./example.stocks\n\nThe other option includes setting the period for the stock feed.\n\n-----------------------------------------------------------------------------\n\nHappy troubleshooting!!!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclausklein%2Fcallback_quoter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclausklein%2Fcallback_quoter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclausklein%2Fcallback_quoter/lists"}