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_t * | axis2_op_ctx_create (const axis2_env_t *env, struct axis2_op *op, struct axis2_svc_ctx *svc_ctx) |
#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.
#define AXIS2_OP_CTX_CLEANUP | ( | op_ctx, | |||
env | ) | ((op_ctx)->ops->cleanup(op_ctx, env)) |
Cleans up operation context.
#define AXIS2_OP_CTX_FREE | ( | op_ctx, | |||
env | ) | ((op_ctx)->ops->free(op_ctx, env)) |
Frees operation context.
#define AXIS2_OP_CTX_GET_BASE | ( | op_ctx, | |||
env | ) | ((op_ctx)->ops->get_base(op_ctx, env)) |
Gets base context struct.
#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.
#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.
#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.
#define AXIS2_OP_CTX_GET_OP | ( | op_ctx, | |||
env | ) | ((op_ctx)->ops->get_op(op_ctx, env)) |
Gets operating related to operation context.
#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.
#define AXIS2_OP_CTX_INIT | ( | op_ctx, | |||
env, | |||||
conf | ) | ((op_ctx)->ops->init(op_ctx, env, conf)) |
Initializes operation context.
#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.
#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.
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
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.
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 |