Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acct_mgr_rpc #83

Open
SplinterHead opened this issue Aug 3, 2023 · 0 comments
Open

acct_mgr_rpc #83

SplinterHead opened this issue Aug 3, 2023 · 0 comments

Comments

@SplinterHead
Copy link
Owner

Summary

Make an rpc to an account manager. (Client will need temporary network access). It has three uses. Used by the --join_acct_mgr command of the ​boinccmd) tool to join an account manager. Used by the same tool's --quit_acct_mgrcommand with null arguments to quit an account manager. And lastly used to trigger an RPC to the current account manager.

There are two requests depending on whether there is a file with the necessary data or not.

Request XML

With file:

<acct_mgr_rpc>
    <use_config_file/>
</acct_mgr_rpc>

Without file:

<acct_mgr_rpc>
    <url></url>
    <name></name>
    <password></password>
</acct_mgr_rpc>

Response XML (where applicable)

This request is asynchronous. It returns immediately with either <success/> or one of the following errors: <error>bad arg</error> or <error>unrecognized op: act_mgr_rpc</error>. To get the results of the request a call to <acct_mgr_rpc_poll/> has to be made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant