You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/03/22 04:59:35 UTC
svn commit: r387706 - in /webservices/axis2/trunk/c:
include/axis2_msg_recv.h modules/core/receivers/msg_recv.c
Author: samisa
Date: Tue Mar 21 19:59:33 2006
New Revision: 387706
URL: http://svn.apache.org/viewcvs?rev=387706&view=rev
Log:
More fixes to have the callback data pointer
Modified:
webservices/axis2/trunk/c/include/axis2_msg_recv.h
webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c
Modified: webservices/axis2/trunk/c/include/axis2_msg_recv.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_msg_recv.h?rev=387706&r1=387705&r2=387706&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_msg_recv.h (original)
+++ webservices/axis2/trunk/c/include/axis2_msg_recv.h Tue Mar 21 19:59:33 2006
@@ -85,7 +85,8 @@
axis2_status_t (AXIS2_CALL *
receive_sync) (axis2_msg_recv_t *msg_recv,
axis2_env_t **env,
- struct axis2_msg_ctx *in_msg_ctx);
+ struct axis2_msg_ctx *in_msg_ctx,
+ void *callback_recv_param);
/**
* This contain asynchronous receiving logic.
@@ -95,7 +96,8 @@
axis2_status_t (AXIS2_CALL *
receive_async) (axis2_msg_recv_t *msg_recv,
axis2_env_t **env,
- struct axis2_msg_ctx *in_msg_ctx);
+ struct axis2_msg_ctx *in_msg_ctx,
+ void *callback_recv_param);
/**
* This contain in only synchronous business invoke logic
@@ -224,11 +226,11 @@
#define AXIS2_MSG_RECV_RECEIVE(msg_recv, env, msg_ctx, callback_recv_param) \
((msg_recv)->ops->receive (msg_recv, env, msg_ctx, callback_recv_param))
-#define AXIS2_MSG_RECV_RECEIVE_SYNC(msg_recv, env, msg_ctx) \
- ((msg_recv)->ops->receive_sync (msg_recv, env, msg_ctx))
+#define AXIS2_MSG_RECV_RECEIVE_SYNC(msg_recv, env, msg_ctx, callback_recv_param) \
+ ((msg_recv)->ops->receive_sync (msg_recv, env, msg_ctx, callback_recv_param))
-#define AXIS2_MSG_RECV_RECEIVE_ASYNC(msg_recv, env, msg_ctx) \
- ((msg_recv)->ops->receive_async (msg_recv, env, msg_ctx))
+#define AXIS2_MSG_RECV_RECEIVE_ASYNC(msg_recv, env, msg_ctx, callback_recv_param) \
+ ((msg_recv)->ops->receive_async (msg_recv, env, msg_ctx, callback_recv_param))
#define AXIS2_MSG_RECV_INVOKE_IN_BUSINESS_LOGIC_SYNC(msg_recv, env, in_msg_ctx) \
((msg_recv)->ops->invoke_in_business_logic_sync(msg_recv, env, in_msg_ctx))
Modified: webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c?rev=387706&r1=387705&r2=387706&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c Tue Mar 21 19:59:33 2006
@@ -51,12 +51,14 @@
axis2_status_t AXIS2_CALL
axis2_raw_xml_in_out_msg_recv_receive_sync(axis2_msg_recv_t *msg_recv,
axis2_env_t **env,
- axis2_msg_ctx_t *msg_ctx);
+ axis2_msg_ctx_t *msg_ctx,
+ void *callback_recv_param);
axis2_status_t AXIS2_CALL
axis2_raw_xml_in_out_msg_recv_receive_async(axis2_msg_recv_t *msg_recv,
axis2_env_t **env,
- axis2_msg_ctx_t *msg_ctx);
+ axis2_msg_ctx_t *msg_ctx,
+ void *callback_recv_param);
axis2_svc_skeleton_t * AXIS2_CALL
axis2_msg_recv_make_new_svc_obj(axis2_msg_recv_t *msg_recv,
@@ -373,7 +375,8 @@
axis2_status_t AXIS2_CALL
axis2_raw_xml_in_out_msg_recv_receive_sync(axis2_msg_recv_t *msg_recv,
axis2_env_t **env,
- axis2_msg_ctx_t *msg_ctx)
+ axis2_msg_ctx_t *msg_ctx,
+ void *callback_recv_param)
{
axis2_msg_ctx_t *out_msg_ctx = NULL;
axis2_engine_t *engine = NULL;
@@ -425,7 +428,8 @@
axis2_status_t AXIS2_CALL
axis2_raw_xml_in_out_msg_recv_receive_async(axis2_msg_recv_t *msg_recv,
axis2_env_t **env,
- axis2_msg_ctx_t *msg_ctx)
+ axis2_msg_ctx_t *msg_ctx,
+ void *callback_recv_param)
{
axis2_svr_callback_t *callback = NULL;
axis2_msg_ctx_t *new_msg_ctx = NULL;