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 09:53:45 UTC

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

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


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

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-119?page=all ]
     
Samisa Abeysinghe closed AXIS2C-119:
------------------------------------

    Fix Version: 0.91
     Resolution: Fixed

Code was updated to facilitate users to set on error and on complete functions to be called by callback

> 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
>     Assignee: Samisa Abeysinghe
>      Fix For: 0.91

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


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

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-119?page=all ]

Samisa Abeysinghe reassigned AXIS2C-119:
----------------------------------------

    Assign To: Samisa Abeysinghe

> 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
>     Assignee: Samisa Abeysinghe

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


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

Posted by "Nabeel Yoosuf (JIRA)" <ji...@apache.org>.
    [ 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