Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Examples

axis2_callback_ops Struct Reference
[Message Context]

Message Context ops struct Encapsulator struct for ops of axis2_callback. More...

#include <axis2_callback.h>

List of all members.

Public Attributes

axis2_status_t(* invoke_on_complete )(struct axis2_callback *callback, const axis2_env_t *env, axis2_async_result_t *result)
axis2_status_t(* on_complete )(struct axis2_callback *callback, const axis2_env_t *env)
axis2_status_t(* report_error )(struct axis2_callback *callback, const axis2_env_t *env, int exception)
axis2_status_t(* on_error )(struct axis2_callback *callback, const axis2_env_t *env, int exception)
axis2_bool_t(* get_complete )(struct axis2_callback *callback, const axis2_env_t *env)
axis2_status_t(* set_complete )(struct axis2_callback *callback, const axis2_env_t *env, axis2_bool_t complete)
axiom_soap_envelope_t *(* get_envelope )(struct axis2_callback *callback, const axis2_env_t *env)
axis2_status_t(* set_envelope )(struct axis2_callback *callback, const axis2_env_t *env, axiom_soap_envelope_t *envelope)
int(* get_error )(struct axis2_callback *callback, const axis2_env_t *env)
axis2_status_t(* set_error )(struct axis2_callback *callback, const axis2_env_t *env, int error)
axis2_status_t(* set_data )(struct axis2_callback *callback, void *data)
void *(* get_data )(struct axis2_callback *callback)
void(* set_on_complete )(struct axis2_callback *callback, on_complete_func_ptr f)
void(* set_on_error )(struct axis2_callback *callback, on_error_func_ptr f)
axis2_status_t(* free )(struct axis2_callback *callback, const axis2_env_t *env)


Detailed Description

Message Context ops struct Encapsulator struct for ops of axis2_callback.


Member Data Documentation

axis2_bool_t( * axis2_callback_ops::get_complete)(struct axis2_callback *callback, const axis2_env_t *env)
 

This says has the Async Operation is completed or not. this could be useful for poleing with a special callback written for poleing (checking repeatedly time to time). e.g.

          while(!callback.isComplete()){
             Thread.sleep(1000);
          }
          do whatever u need to do
      

Returns:

axis2_status_t( * axis2_callback_ops::invoke_on_complete)(struct axis2_callback *callback, const axis2_env_t *env, axis2_async_result_t *result)
 

This Method is called by Axis2 once the Async Operation is sucessfully completed and the result returns

Parameters:
result 

axis2_status_t( * axis2_callback_ops::on_complete)(struct axis2_callback *callback, const axis2_env_t *env)
 

This Method is called by invoke_on_complete. Users could provide this method so that they can define what to be done when the callback returns on completion

axis2_status_t( * axis2_callback_ops::on_error)(struct axis2_callback *callback, const axis2_env_t *env, int exception)
 

This Method is called by report_error. Users could provide this method so that they can define what to be done when the callback returns an error

axis2_status_t( * axis2_callback_ops::report_error)(struct axis2_callback *callback, const axis2_env_t *env, int exception)
 

This Method is called by Axis2 once the Async Operation fails and the result returns

Parameters:
e 

axis2_status_t( * axis2_callback_ops::set_complete)(struct axis2_callback *callback, const axis2_env_t *env, axis2_bool_t complete)
 

Method setComplete

Parameters:
complete 


The documentation for this struct was generated from the following file:
Generated on Fri Jun 16 18:02:40 2006 for Axis2/C by  doxygen 1.4.2