axis2_handler_ops Struct Reference
[handler]

#include <axis2_handler.h>

List of all members.

Public Attributes

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


Detailed Description

handler ops struct. Encapsulator struct for ops of axis2_handler.


Member Data Documentation

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

Free handler struct.

Parameters:
handler pointer to handler
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

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

Gets the handler description related to the handler.

Parameters:
handler pointer to handler
env pointer to environment struct
Returns:
pointer to handler description struct related to handler

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

Gets the named parameter.

Parameters:
handler pointer to handler
env pointer to environment struct
name name of the parameter to be accessed

const axis2_qname_t*( * axis2_handler_ops::get_qname)(const axis2_handler_t *handler, const axis2_env_t *env)

Gets QName.

Parameters:
handler pointer to handler
env pointer to environment struct
Returns:
pointer to QName of the handler

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

Initializes the handler with the information form handler description.

Parameters:
handler pointer to handler
env pointer to environment struct
handler_desc pointer to handler description related to the handler
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

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

Invoke is called to do the actual work assigned to the handler. The phase that owns the handler is responsible for calling invoke on top of the handler. Those structs that implement the interface of the handler should implement the logic for invoke and assign the respective function pointer to invoke operation of the ops struct.

Parameters:
handler pointer to handler
env pointer to environment struct
msg_ctx pointer to message context
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE


The documentation for this struct was generated from the following file:
Generated on Tue Oct 3 18:21:18 2006 for Axis2/C by  doxygen 1.4.7