axis2_phase_holder_ops Struct Reference
[phase holder]

#include <axis2_phase_holder.h>

List of all members.

Public Attributes

axis2_status_t(* free )(axis2_phase_holder_t *phase_holder, const axis2_env_t *env)
axis2_bool_t(* is_phase_exist )(axis2_phase_holder_t *phase_holder, const axis2_env_t *env, const axis2_char_t *phase_name)
axis2_status_t(* add_handler )(axis2_phase_holder_t *phase_holder, const axis2_env_t *env, struct axis2_handler_desc *handler)
axis2_phase *(* get_phase )(const axis2_phase_holder_t *phase_holder, const axis2_env_t *env, const axis2_char_t *phase_name)
axis2_status_t(* build_transport_handler_chain )(axis2_phase_holder_t *phase_holder, const axis2_env_t *env, struct axis2_phase *phase, axis2_array_list_t *handlers)


Detailed Description

phase holder ops struct. Encapsulator struct for ops of axis2_phase_holder.


Member Data Documentation

axis2_status_t( * axis2_phase_holder_ops::add_handler)(axis2_phase_holder_t *phase_holder, const axis2_env_t *env, struct axis2_handler_desc *handler)

Adds given handler to phase holder.

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

axis2_status_t( * axis2_phase_holder_ops::build_transport_handler_chain)(axis2_phase_holder_t *phase_holder, const axis2_env_t *env, struct axis2_phase *phase, axis2_array_list_t *handlers)

Builds the transport phase. This method loads the corresponding handlers and added them into correct phase.

Parameters:
phase_holder pointer to phase holder
env pointer to environment struct
phase pointer to phase, phase holder does not assume the ownership the phase
handlers pointer to array list of handlers, phase holder does not assume the ownership of the list
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_phase_holder_ops::free)(axis2_phase_holder_t *phase_holder, const axis2_env_t *env)

Frees phase holder.

Parameters:
phase_holder pointer to phase holder
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

struct axis2_phase*( * axis2_phase_holder_ops::get_phase)(const axis2_phase_holder_t *phase_holder, const axis2_env_t *env, const axis2_char_t *phase_name)

Gets the named phase from phase array list.

Parameters:
phase_holder pointer to phase holder
env pointer to environment struct
phase_name pointer to phase name
Returns:
pointer to named phase if it exists, else NULL. Returns a reference, not a cloned copy

axis2_bool_t( * axis2_phase_holder_ops::is_phase_exist)(axis2_phase_holder_t *phase_holder, const axis2_env_t *env, const axis2_char_t *phase_name)

Checks if the named phase exist.

Parameters:
phase_holder pointer to phase holder
env pointer to environment struct
phase_name phase name string
Returns:
AXIS2_TRUE if the named phase exist, else AXIS2_FALSE


The documentation for this struct was generated from the following file:
Generated on Thu Oct 26 21:00:31 2006 for Axis2/C by  doxygen 1.4.7