You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Nabeel Yoosuf (JIRA)" <ji...@apache.org> on 2006/04/05 10:32:44 UTC

[jira] Commented: (AXIS2C-119) Allowing users to have their own callback functions

    [ http://issues.apache.org/jira/browse/AXIS2C-119?page=comments#action_12373247 ] 

Nabeel Yoosuf commented on AXIS2C-119:
--------------------------------------

On the inspection of the code, It is better if we can provide to ops pointers to assign the two callback functions  pointers
callback->ops->on_complete
callback->ops->on_error.

> Allowing users to have their own callback functions
> ---------------------------------------------------
>
>          Key: AXIS2C-119
>          URL: http://issues.apache.org/jira/browse/AXIS2C-119
>      Project: Axis2-C
>         Type: Improvement

>   Components: core/clientapi
>     Versions: 0.91
>  Environment: Linux/Windws
>     Reporter: Nabeel Yoosuf

>
> It would be nice if we can have a way for users to attach their own on_complete and on_error function to the callback object.
> At present defult on_complete and on_error are invoked.
> Current callback create function prototype:
> axis2_callback_t* axis2_callback_create(axis2_env_t **env);
> what I would like to have is
> axis2_callback_t* axis2_callback_create(axis2_env_t **env, void(*my_on_complete)(), void(*my_on_error)());

-- 
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