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

axis2_op_ctx_ops Struct Reference
[Operation Context]

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

#include <axis2_op_ctx.h>

List of all members.

Public Attributes

axis2_ctx_t *(* get_base )(struct axis2_op_ctx *op_ctx, const axis2_env_t *env)
axis2_status_t(* free )(struct axis2_op_ctx *op_ctx, const axis2_env_t *env)
axis2_status_t(* init )(struct axis2_op_ctx *op_ctx, const axis2_env_t *env, struct axis2_conf *conf)
axis2_op *(* get_op )(struct axis2_op_ctx *op_ctx, const axis2_env_t *env)
axis2_svc_ctx *(* get_parent )(struct axis2_op_ctx *op_ctx, const axis2_env_t *env)
axis2_status_t(* add_msg_ctx )(struct axis2_op_ctx *op_ctx, const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx)
axis2_msg_ctx_t *(* get_msg_ctx )(struct axis2_op_ctx *op_ctx, const axis2_env_t *env, const axis2_char_t *message_id)
axis2_bool_t(* get_is_complete )(struct axis2_op_ctx *op_ctx, const axis2_env_t *env)
axis2_status_t(* set_complete )(struct axis2_op_ctx *op_ctx, const axis2_env_t *env, axis2_bool_t is_complete)
axis2_status_t(* cleanup )(struct axis2_op_ctx *op_ctx, const axis2_env_t *env)
axis2_status_t(* set_parent )(struct axis2_op_ctx *op_ctx, const axis2_env_t *env, struct axis2_svc_ctx *svc_ctx)
axis2_hash_t *(* get_msg_ctx_map )(struct axis2_op_ctx *op_ctx, const axis2_env_t *env)


Detailed Description

Message Context ops struct Encapsulator struct for ops of axis2_op_ctx.


Member Data Documentation

axis2_status_t( * axis2_op_ctx_ops::add_msg_ctx)(struct axis2_op_ctx *op_ctx, const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx)
 

When a new message is added to the MEPContext the logic should be included remove the MEPContext from the table in the axis2_conf_ctx. Example: IN_IN_OUT At the second IN message the MEPContext should be removed from the AxisOperation

Parameters:
msgContext 

axis2_status_t( * axis2_op_ctx_ops::cleanup)(struct axis2_op_ctx *op_ctx, const axis2_env_t *env)
 

Removes the pointers to this op_ctx in the axis2_conf_ctx's op_ctxaxis2_hash_t *so that this op_ctx will eventually get garbage collected along with the axis2_msg_ctx_t *'s it contains. Note that if the caller wants to make sure its safe to clean up this op_ctx he should call is_complete() first. However, in cases like IN_OPTIONAL_OUT and OUT_OPTIONAL_IN, it is possibe this will get called without the MEP being complete due to the optional nature of the MEP.

axis2_bool_t( * axis2_op_ctx_ops::get_is_complete)(struct axis2_op_ctx *op_ctx, const axis2_env_t *env)
 

Checks to see if the MEP is complete. i.e. whether all the messages that are associated with the MEP has arrived and MEP is complete.

axis2_msg_ctx_t*( * axis2_op_ctx_ops::get_msg_ctx)(struct axis2_op_ctx *op_ctx, const axis2_env_t *env, const axis2_char_t *message_id)
 

Parameters:
message_id 
Returns:
Exceptions:
AxisFault 

struct axis2_op*( * axis2_op_ctx_ops::get_op)(struct axis2_op_ctx *op_ctx, const axis2_env_t *env)
 

Returns:
Returns the op.

struct axis2_svc_ctx*( * axis2_op_ctx_ops::get_parent)(struct axis2_op_ctx *op_ctx, const axis2_env_t *env)
 

Return the struct axis2_svc_ctx * in which this op_ctx lives.

Returns:
parent struct axis2_svc_ctx *

axis2_status_t( * axis2_op_ctx_ops::init)(struct axis2_op_ctx *op_ctx, const axis2_env_t *env, struct axis2_conf *conf)
 

The method is used to do the intialization of the axis2_op_ctx


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