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 "Supun Kamburugamuva (JIRA)" <ji...@apache.org> on 2006/10/03 08:11:19 UTC

[jira] Created: (AXIS2C-319) Cannot pass an Object to the Callback function

Cannot pass an Object to the Callback function
----------------------------------------------

                 Key: AXIS2C-319
                 URL: http://issues.apache.org/jira/browse/AXIS2C-319
             Project: Axis2-C
          Issue Type: Bug
          Components: core/clientapi
            Reporter: Supun Kamburugamuva


I want to pass an Object to the Callback function using C++. So I can acces the object methods and properties through the callback function. But the current Callback function prototypes does not have a mechanism to allow that. 
Also with the current call back mechnism, there is no way that we can find out weather the callback function is been called.
 

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Closed: (AXIS2C-319) Cannot pass an Object to the Callback function

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

Samisa Abeysinghe closed AXIS2C-319.
------------------------------------

    Resolution: Won't Fix

We do not have plans to support C++ objects for callbacks.
You have to use a function, in C++ you can use functions.

> Cannot pass an Object to the Callback function
> ----------------------------------------------
>
>                 Key: AXIS2C-319
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-319
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>            Reporter: Supun Kamburugamuva
>
> I want to pass an Object to the Callback function using C++. So I can acces the object methods and properties through the callback function. But the current Callback function prototypes does not have a mechanism to allow that. 
> Also with the current call back mechnism, there is no way that we can find out weather the callback function is been called.
>  

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-319) Cannot pass an Object to the Callback function

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-319?page=comments#action_12439723 ] 
            
Samisa Abeysinghe commented on AXIS2C-319:
------------------------------------------

We do not have plans to support objects to be passed as callback - that is not possible at the moment, because Axis2/C is pure C. IF you want C++ support, you may have to wrap C code in C++.

Also on knowing if the callback is called or not, you have access to environment within callback - so you can log a message and get to know by looking at the log file if the callback was really called

> Cannot pass an Object to the Callback function
> ----------------------------------------------
>
>                 Key: AXIS2C-319
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-319
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>            Reporter: Supun Kamburugamuva
>
> I want to pass an Object to the Callback function using C++. So I can acces the object methods and properties through the callback function. But the current Callback function prototypes does not have a mechanism to allow that. 
> Also with the current call back mechnism, there is no way that we can find out weather the callback function is been called.
>  

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org