axis2_disp_ops Struct Reference
[dispatcher]

#include <axis2_disp.h>

List of all members.

Public Attributes

axis2_handler_t *(* get_base )(const axis2_disp_t *disp, const axis2_env_t *env)
axis2_qname_t *(* get_qname )(const axis2_disp_t *disp, const axis2_env_t *env)
axis2_status_t(* set_qname )(axis2_disp_t *disp, const axis2_env_t *env, axis2_qname_t *qname)
axis2_status_t(* free )(axis2_disp_t *disp, const axis2_env_t *env)
axis2_svc_t *(* find_svc )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env)
axis2_op_t *(* find_op )(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_svc_t *svc)


Detailed Description

dispatcher ops struct. Encapsulator struct for operations of axis2_dispatcher.


Member Data Documentation

axis2_op_t*( * axis2_disp_ops::find_op)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env, const axis2_svc_t *svc)

Finds the operation that corresponds to the given message context and service. The various dispatcher implementations that inherit from dispatcher struct should implement this find_op method and assign the respective function pointers to point to this method. Finds the op

Parameters:
msg_ctx pointer to message context
env pointer to environment struct
svc pointer to service, usually this is found through find_svc method
Returns:
pointer to operation that the request is targeted to

axis2_svc_t*( * axis2_disp_ops::find_svc)(axis2_msg_ctx_t *msg_ctx, const axis2_env_t *env)

Finds the service that corresponds to the given message context. The various dispatcher implementations that inherit from dispatcher struct should implement this find_svc method and assign the respective function pointers to point to this method.

Parameters:
msg_ctx pointer to message context
env pointer to environment struct
Returns:
pointer to service that should be servicing the request

axis2_status_t( * axis2_disp_ops::free)(axis2_disp_t *disp, const axis2_env_t *env)

Frees dispatcher struct.

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

axis2_handler_t*( * axis2_disp_ops::get_base)(const axis2_disp_t *disp, const axis2_env_t *env)

Gets the base struct which is of type handler.

Parameters:
disp pointer to dispatcher
env pointer to environment struct
Returns:
pointer to base handler struct. Returns a reference, not a cloned copy

axis2_qname_t*( * axis2_disp_ops::get_qname)(const axis2_disp_t *disp, const axis2_env_t *env)

Gets the qname of the dispatcher.

Parameters:
disp pointer to dispatcher
env pointer to environment struct
Returns:
pointer to qname. Returns a reference, not a cloned copy

axis2_status_t( * axis2_disp_ops::set_qname)(axis2_disp_t *disp, const axis2_env_t *env, axis2_qname_t *qname)

Sets the qname of the dispatcher.

Parameters:
disp pointer to dispatcher
env pointer to environment struct
qname pointer to qname, dispatcher assumes ownership of the qname struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE


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