Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
All
Description
At present listener maneger resides in axis2_call_impl_t. we need to move it to axis2_conf_ctx_t for the implementation of Service Client API.
/conf_ctx.c/
#include <axis2_listener_manager.h>
typedef struct axis2_conf_ctx_impl
{ axis2_listener_manager_t *listener_manager; }axis2_conf_ctx_t;
/* get/set methods*/
void axis2_conf_ctx_set_listener_manager(struct axis2_conf_ctx *conf_ctx, axis2_listener_manager_t *listener_manager);
axis2_listener_manager_t* axis2_conf_ctx_get_listener_manager(struct axis2_conf_ctx *conf_ctx);
Also need to rename listener_manager.h to axis2_listener_manager.h and move to include dir (currently in the clientapi folder)
listener_manager should also keep a pointer to conf_ctx:
void axis2_listener_manager_init(struct axis2_listener_manager *listener_manager, axis2_conf_ctx_t *conf_ctx)
{
listener_manager_impl->conf_ctx = conf_ctx;
AXIS2_CONF_CTX_SET_LISTENER_MANAGER(conf_ctx, &(listener_manager_impl->conf_ctx));
}