/// <summary> /// Constructor which takes an array of build results to return from the BuildProjects method when it is called. /// </summary> internal MockIRequestBuilderCallback(BuildResult[] buildResultsToReturn) { _buildResultsToReturn = buildResultsToReturn; OnNewBuildRequests += new NewBuildRequestsDelegate(MockIRequestBuilderCallback_OnNewBuildRequests); OnBuildRequestCompleted += new BuildRequestCompletedDelegate(MockIRequestBuilderCallback_OnBuildRequestCompleted); OnBuildRequestBlocked += new BuildRequestBlockedDelegate(MockIRequestBuilderCallback_OnBuildRequestBlocked); }
internal static extern int indy_build_node_request(int command_handle, string submitter_did, string target_did, string data, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_get_cred_def_request(int command_handle, string submitter_did, string id, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_get_attrib_request(int command_handle, string submitter_did, string target_did, string raw, string hash, string enc, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_auth_rules_request(int command_handle, string submitter_did, string rules, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_revoc_reg_entry_request(int command_handle, string submitter_did, string revoc_reg_def_id, string rev_def_type, string value, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_pool_upgrade_request(int command_handle, string submitter_did, string name, string version, string action, string sha256, int timeout, string schedule, string justification, bool reinstall, bool force, string package, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_pool_config_request(int command_handle, string submitter_did, bool writes, bool force, BuildRequestCompletedDelegate cb);
internal static extern int indy_append_request_endorser(int command_handle, string request_json, string endorser_did, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_get_acceptance_mechanisms_request(int command_handle, string submitter_did, long timestamp, string version, BuildRequestCompletedDelegate cb);
internal static extern int indy_append_txn_author_agreement_acceptance_to_request(int command_handle, string request_json, string text, string version, string taa_digest, string mechanism, ulong time, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_acceptance_mechanisms_request(int command_handle, string submitter_did, string aml, string version, string aml_context, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_txn_author_agreement_request(int command_handle, string submitter_did, string text, string version, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_get_auth_rule_request(int command_handle, string submitter_did, string txn_type, string action, string field, string old_value, string new_value, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_get_validator_info_request(int command_handle, string submitter_did, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_get_txn_request(int command_handle, string submitter_did, string ledger_type, int seq_no, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_get_claim_def_txn(int command_handle, string submitter_did, int xref, string signature_type, string origin, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_pool_restart_request(int command_handle, string submitter_did, string action, string datetime, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_get_txn_request(int command_handle, string submitter_did, int data, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_revoc_reg_def_request(int command_handle, string submitter_did, string data, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_nym_request(int command_handle, string submitter_did, string target_did, string verkey, string alias, string role, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_get_revoc_reg_delta_request(int command_handle, string submitter_did, string revoc_reg_def_id, long from, long to, BuildRequestCompletedDelegate cb);
internal static extern int indy_build_disable_all_txn_author_agreements_request(int command_handle, string submitter_did, BuildRequestCompletedDelegate cb);