operation context
[context hierarchy]


Files

file  axis2_op_ctx.h

Classes

struct  axis2_op_ctx_ops
struct  axis2_op_ctx

Defines

#define AXIS2_OP_CTX_GET_BASE(op_ctx, env)   ((op_ctx)->ops->get_base(op_ctx, env))
#define AXIS2_OP_CTX_FREE(op_ctx, env)   ((op_ctx)->ops->free(op_ctx, env))
#define AXIS2_OP_CTX_INIT(op_ctx, env, conf)   ((op_ctx)->ops->init(op_ctx, env, conf))
#define AXIS2_OP_CTX_GET_OP(op_ctx, env)   ((op_ctx)->ops->get_op(op_ctx, env))
#define AXIS2_OP_CTX_GET_PARENT(op_ctx, env)   ((op_ctx)->ops->get_parent(op_ctx, env))
#define AXIS2_OP_CTX_ADD_MSG_CTX(op_ctx, env, msg_ctx)   ((op_ctx)->ops->add_msg_ctx(op_ctx, env, msg_ctx))
#define AXIS2_OP_CTX_GET_MSG_CTX(op_ctx, env, message_id)   ((op_ctx)->ops->get_msg_ctx(op_ctx, env, message_id))
#define AXIS2_OP_CTX_GET_IS_COMPLETE(op_ctx, env)   ((op_ctx)->ops->get_is_complete(op_ctx, env))
#define AXIS2_OP_CTX_SET_IS_COMPLETE(op_ctx, env, is_complete)   ((op_ctx)->ops->set_complete(op_ctx, env, is_complete))
#define AXIS2_OP_CTX_CLEANUP(op_ctx, env)   ((op_ctx)->ops->cleanup(op_ctx, env))
#define AXIS2_OP_CTX_SET_PARENT(op_ctx, env, svc_ctx)   ((op_ctx)->ops->set_parent(op_ctx, env, svc_ctx))
#define AXIS2_OP_CTX_GET_MSG_CTX_MAP(op_ctx, env)   ((op_ctx)->ops->get_msg_ctx_map(op_ctx, env))

Typedefs

typedef axis2_op_ctx_ops axis2_op_ctx_ops_t
typedef axis2_op_ctx axis2_op_ctx_t

Functions

AXIS2_EXTERN axis2_op_ctx_taxis2_op_ctx_create (const axis2_env_t *env, struct axis2_op *op, struct axis2_svc_ctx *svc_ctx)

Detailed Description

operation context represents a running "instance" of an operation. operation context allows messages to be grouped into operations as in WSDL 2.0 specification. operations are essentially arbitrary message exchange patterns (MEP). So as messages are being exchanged, operation context remembers the state of message exchange pattern specifics. The implementation of operation context supports MEPs which have one input message and/or one output message. In order to support other MEPs one must extend this struct.

Define Documentation

#define AXIS2_OP_CTX_ADD_MSG_CTX ( op_ctx,
env,
msg_ctx   )     ((op_ctx)->ops->add_msg_ctx(op_ctx, env, msg_ctx))

Adds message context.

See also:
axis2_op_ctx_ops::add_msg_ctx

#define AXIS2_OP_CTX_CLEANUP ( op_ctx,
env   )     ((op_ctx)->ops->cleanup(op_ctx, env))

Cleans up operation context.

See also:
axis2_op_ctx_ops::cleanup

#define AXIS2_OP_CTX_FREE ( op_ctx,
env   )     ((op_ctx)->ops->free(op_ctx, env))

Frees operation context.

See also:
axis2_op_ctx_ops::free

#define AXIS2_OP_CTX_GET_BASE ( op_ctx,
env   )     ((op_ctx)->ops->get_base(op_ctx, env))

Gets base context struct.

See also:
axis2_op_ctx_ops::get_base

#define AXIS2_OP_CTX_GET_IS_COMPLETE ( op_ctx,
env   )     ((op_ctx)->ops->get_is_complete(op_ctx, env))

Gets bool value indicating the complete status.

See also:
axis2_op_ctx_ops::get_is_complete

#define AXIS2_OP_CTX_GET_MSG_CTX ( op_ctx,
env,
message_id   )     ((op_ctx)->ops->get_msg_ctx(op_ctx, env, message_id))

Gets message context with given message ID.

See also:
axis2_op_ctx_ops::get_msg_ctx

#define AXIS2_OP_CTX_GET_MSG_CTX_MAP ( op_ctx,
env   )     ((op_ctx)->ops->get_msg_ctx_map(op_ctx, env))

Gets message context map.

See also:
axis2_op_ctx_ops::get_msg_ctx

#define AXIS2_OP_CTX_GET_OP ( op_ctx,
env   )     ((op_ctx)->ops->get_op(op_ctx, env))

Gets operating related to operation context.

See also:
axis2_op_ctx_ops::get_op

#define AXIS2_OP_CTX_GET_PARENT ( op_ctx,
env   )     ((op_ctx)->ops->get_parent(op_ctx, env))

Gets parent which is of type service context.

See also:
axis2_op_ctx_ops::get_parent

#define AXIS2_OP_CTX_INIT ( op_ctx,
env,
conf   )     ((op_ctx)->ops->init(op_ctx, env, conf))

Initializes operation context.

See also:
axis2_op_ctx_ops::init

#define AXIS2_OP_CTX_SET_IS_COMPLETE ( op_ctx,
env,
is_complete   )     ((op_ctx)->ops->set_complete(op_ctx, env, is_complete))

Sets bool value indicating the complete status.

See also:
axis2_op_ctx_ops::set_is_complete

#define AXIS2_OP_CTX_SET_PARENT ( op_ctx,
env,
svc_ctx   )     ((op_ctx)->ops->set_parent(op_ctx, env, svc_ctx))

Sets parent service context.

See also:
axis2_op_ctx_ops::set_parent


Typedef Documentation

typedef struct axis2_op_ctx_ops axis2_op_ctx_ops_t

Type name for struct axis2_op_ctx_ops

typedef struct axis2_op_ctx axis2_op_ctx_t

Type name for struct axis2_op_ctx


Function Documentation

AXIS2_EXTERN axis2_op_ctx_t* axis2_op_ctx_create ( const axis2_env_t env,
struct axis2_op op,
struct axis2_svc_ctx svc_ctx 
)

Creates an operation context struct instance.

Parameters:
env pointer to environment struct
op pointer to operation that is related to operation context. operation context does not assume the ownership of the struct
svc_ctx pointer to parent service context
Returns:
pointer to newly created operation context


Generated on Tue Oct 3 22:36:00 2006 for Axis2/C by  doxygen 1.4.7