Files | |
file | axis2_op_client.h |
Classes | |
struct | axis2_op_client_ops |
struct | axis2_op_client |
Defines | |
#define | AXIS2_OP_CLIENT_SET_OPTIONS(op_client, env, options) ((op_client)->ops->set_options(op_client, env, options)) |
#define | AXIS2_OP_CLIENT_GET_OPTIONS(op_client, env) ((op_client)->ops->get_options(op_client, env)) |
#define | AXIS2_OP_CLIENT_ADD_MSG_CTX(op_client, env, msg_ctx) ((op_client)->ops->add_msg_ctx(op_client, env, msg_ctx)) |
#define | AXIS2_OP_CLIENT_ADD_OUT_MSG_CTX(op_client, env, msg_ctx) ((op_client)->ops->add_out_msg_ctx(op_client, env, msg_ctx)) |
#define | AXIS2_OP_CLIENT_GET_MSG_CTX(op_client, env, message_label) ((op_client)->ops->get_msg_ctx(op_client, env, message_label)) |
#define | AXIS2_OP_CLIENT_SET_CALLBACK(op_client, env, callback) ((op_client)->ops->set_callback(op_client, env, callback)) |
#define | AXIS2_OP_CLIENT_GET_CALLBACK(op_client, env) ((op_client)->ops->get_callback(op_client, env)) |
#define | AXIS2_OP_CLIENT_EXECUTE(op_client, env, block) ((op_client)->ops->execute(op_client, env, block)) |
#define | AXIS2_OP_CLIENT_RESET(op_client, env) ((op_client)->ops->reset(op_client, env)) |
#define | AXIS2_OP_CLIENT_COMPLETE(op_client, env, msg_ctx) ((op_client)->ops->complete(op_client, env, msg_ctx)) |
#define | AXIS2_OP_CLIENT_GET_OPERATION_CONTEXT(op_client, env) ((op_client)->ops->get_operation_context(op_client, env)) |
#define | AXIS2_OP_CLIENT_FREE(op_client, env) ((op_client)->ops->free(op_client, env)) |
#define | AXIS2_OP_CLIENT_SET_CALLBACK_RECV(op_client, env, callback_recv) ((op_client)->ops->set_callback_recv(op_client, env, callback_recv)) |
Typedefs | |
typedef axis2_op_client_ops | axis2_op_client_ops_t |
typedef axis2_op_client | axis2_op_client_t |
Functions | |
AXIS2_EXTERN axis2_op_client_t * | axis2_op_client_create (const axis2_env_t *env, axis2_op_t *op, axis2_svc_ctx_t *svc_ctx, axis2_options_t *options) |
#define AXIS2_OP_CLIENT_ADD_MSG_CTX | ( | op_client, | |||
env, | |||||
msg_ctx | ) | ((op_client)->ops->add_msg_ctx(op_client, env, msg_ctx)) |
Adds a message context.
#define AXIS2_OP_CLIENT_ADD_OUT_MSG_CTX | ( | op_client, | |||
env, | |||||
msg_ctx | ) | ((op_client)->ops->add_out_msg_ctx(op_client, env, msg_ctx)) |
Adds out message context.
#define AXIS2_OP_CLIENT_COMPLETE | ( | op_client, | |||
env, | |||||
msg_ctx | ) | ((op_client)->ops->complete(op_client, env, msg_ctx)) |
Completes operation client, closing open transports.
#define AXIS2_OP_CLIENT_EXECUTE | ( | op_client, | |||
env, | |||||
block | ) | ((op_client)->ops->execute(op_client, env, block)) |
Executes operation client.
#define AXIS2_OP_CLIENT_FREE | ( | op_client, | |||
env | ) | ((op_client)->ops->free(op_client, env)) |
Frees the operation client.
#define AXIS2_OP_CLIENT_GET_CALLBACK | ( | op_client, | |||
env | ) | ((op_client)->ops->get_callback(op_client, env)) |
gets operation callback.
#define AXIS2_OP_CLIENT_GET_MSG_CTX | ( | op_client, | |||
env, | |||||
message_label | ) | ((op_client)->ops->get_msg_ctx(op_client, env, message_label)) |
Gets the message context corresponding to given label.
#define AXIS2_OP_CLIENT_GET_OPERATION_CONTEXT | ( | op_client, | |||
env | ) | ((op_client)->ops->get_operation_context(op_client, env)) |
Gets the operation context.
#define AXIS2_OP_CLIENT_GET_OPTIONS | ( | op_client, | |||
env | ) | ((op_client)->ops->get_options(op_client, env)) |
Gets the options used by operation client.
#define AXIS2_OP_CLIENT_RESET | ( | op_client, | |||
env | ) | ((op_client)->ops->reset(op_client, env)) |
Resets operation client.
#define AXIS2_OP_CLIENT_SET_CALLBACK | ( | op_client, | |||
env, | |||||
callback | ) | ((op_client)->ops->set_callback(op_client, env, callback)) |
Sets operation client callback.
#define AXIS2_OP_CLIENT_SET_CALLBACK_RECV | ( | op_client, | |||
env, | |||||
callback_recv | ) | ((op_client)->ops->set_callback_recv(op_client, env, callback_recv)) |
Sets the callback receiver.
#define AXIS2_OP_CLIENT_SET_OPTIONS | ( | op_client, | |||
env, | |||||
options | ) | ((op_client)->ops->set_options(op_client, env, options)) |
Sets the options to be used by operation client.
typedef struct axis2_op_client_ops axis2_op_client_ops_t |
Type name for struct axis2_op_client_ops
typedef struct axis2_op_client axis2_op_client_t |
Type name for struct axis2_op_client
AXIS2_EXTERN axis2_op_client_t* axis2_op_client_create | ( | const axis2_env_t * | env, | |
axis2_op_t * | op, | |||
axis2_svc_ctx_t * | svc_ctx, | |||
axis2_options_t * | options | |||
) |
Creates an operation client struct for the specified operation, service context and given options.
env | pointer to environment struct | |
op | pointer to operation struct corresponding to the operation to to be executed. Newly created client assumes ownership of the operation. | |
svc_ctx | pointer to service context struct representing the service to be consumed. Newly created client assumes ownership of the service context. | |
options | options to be used by operation client. Newly created client assumes ownership of the options context. |