axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nabeel Yoosuf (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2C-147) moving listener to configuration context
Date Mon, 01 May 2006 16:53:46 GMT
moving listener to configuration context
----------------------------------------

         Key: AXIS2C-147
         URL: http://issues.apache.org/jira/browse/AXIS2C-147
     Project: Axis2-C
        Type: Task

  Components: core/clientapi, core/context, core/engine  
    Versions: 0.91    
 Environment: All
    Reporter: Nabeel Yoosuf


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));
}



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message