You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2016/03/19 00:06:42 UTC

[24/50] [abbrv] qpid-dispatch git commit: DISPATCH-179 - Added a core function for invoking custom management methods.

DISPATCH-179 - Added a core function for invoking custom management methods.


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/bd0f5585
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/bd0f5585
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/bd0f5585

Branch: refs/heads/master
Commit: bd0f5585f7a821f27804acf07572448f297b760c
Parents: 90775af
Author: Ted Ross <tr...@redhat.com>
Authored: Fri Mar 11 11:09:29 2016 -0500
Committer: Ted Ross <tr...@redhat.com>
Committed: Fri Mar 11 11:09:29 2016 -0500

----------------------------------------------------------------------
 include/qpid/dispatch/router_core.h | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/bd0f5585/include/qpid/dispatch/router_core.h
----------------------------------------------------------------------
diff --git a/include/qpid/dispatch/router_core.h b/include/qpid/dispatch/router_core.h
index 4dcc167..16aa513 100644
--- a/include/qpid/dispatch/router_core.h
+++ b/include/qpid/dispatch/router_core.h
@@ -616,6 +616,29 @@ void qdr_manage_update(qdr_core_t *core, void *context, qd_router_entity_type_t
                        qd_field_iterator_t *name, qd_field_iterator_t *identity,
                        qd_parsed_field_t *in_body, qd_composed_field_t *out_body);
 
+/**
+ * qdr_manage_method
+ *
+ * Invoke a custom method on a managed entity in the router core.
+ *
+ * @param core Pointer to the core object returned by qd_core()
+ * @param context An opaque context that will be passed back in the invocation of the response callback
+ * @param type The entity type for the update request
+ * @param method The method being invoked
+ * @param name The name supplied with the request (or 0 if the identity was supplied)
+ * @param identity The identity supplied with the request (or 0 if the name was supplied)
+ * @param in_body The body of the request message
+ * @param out_body A composed field for the body of the response message
+ */
+void qdr_manage_method(qdr_core_t              *core,
+                       void                    *context,
+                       qd_router_entity_type_t  type,
+                       qd_field_iterator_t     *method,
+                       qd_field_iterator_t     *name,
+                       qd_field_iterator_t     *identity,
+                       qd_parsed_field_t       *in_body,
+                       qd_composed_field_t     *out_body);
+
 
 /**
  * Sequence for running a query:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org