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

axis2_handler_ops Struct Reference
[Handlers]

Handler ops struct. More...

#include <axis2_handler.h>

List of all members.

Public Attributes

axis2_status_t(* free )(struct axis2_handler *handler, const axis2_env_t *env)
axis2_status_t(* init )(struct axis2_handler *handler, const axis2_env_t *env, struct axis2_handler_desc *handler_desc)
axis2_status_t(* invoke )(struct axis2_handler *handler, const axis2_env_t *env, struct axis2_msg_ctx *msg_ctx)
axis2_qname_t *(* get_name )(struct axis2_handler *handler, const axis2_env_t *env)
axis2_param_t *(* get_param )(struct axis2_handler *handler, const axis2_env_t *env, axis2_char_t *name)
axis2_handler_desc *(* get_handler_desc )(struct axis2_handler *handler, const axis2_env_t *env)


Detailed Description

Handler ops struct.


Member Data Documentation

axis2_status_t( * axis2_handler_ops::free)(struct axis2_handler *handler, const axis2_env_t *env)
 

Free an axis2_handler struct

Parameters:
env Environment. MUST NOT be NULL, if NULL behaviour is undefined.
axis2_handler pointer to axis2_handler struct to be freed
Returns:
satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE

struct axis2_handler_desc*( * axis2_handler_ops::get_handler_desc)(struct axis2_handler *handler, const axis2_env_t *env)
 

To get the phaseRule of a handler it is required to get the HnadlerDescription of the handler so the argumnet pass when it call return as HnadlerDescription

Returns:

axis2_qname_t*( * axis2_handler_ops::get_name)(struct axis2_handler *handler, const axis2_env_t *env)
 

Method getName

Returns:

axis2_param_t*( * axis2_handler_ops::get_param)(struct axis2_handler *handler, const axis2_env_t *env, axis2_char_t *name)
 

Method getParameter

Parameters:
name 
Returns:

axis2_status_t( * axis2_handler_ops::init)(struct axis2_handler *handler, const axis2_env_t *env, struct axis2_handler_desc *handler_desc)
 

Method init

Parameters:
handlerdesc 

axis2_status_t( * axis2_handler_ops::invoke)(struct axis2_handler *handler, const axis2_env_t *env, struct axis2_msg_ctx *msg_ctx)
 

Invoke is called to do the actual work of the Handler object. If there is a fault during the processing of this method it is invoke's job to report the error and undo any partial work that has been completed.

Parameters:
msgContext the axis2_context_message to process with this Handler.


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