axis2_msg_recv_ops Struct Reference
[message receiver]

#include <axis2_msg_recv.h>

List of all members.

Public Attributes

axis2_status_t(* free_fn )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env)
axis2_status_t(* receive )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx, void *callback_recv_param)
axis2_status_t(* receive_sync )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx, void *callback_recv_param)
axis2_status_t(* receive_async )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx, void *callback_recv_param)
axis2_status_t(* invoke_in_business_logic_sync )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx)
axis2_status_t(* invoke_in_business_logic_async )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx, struct axis2_svr_callback *svr_callback)
axis2_status_t(* invoke_in_out_business_logic_sync )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx, struct axis2_msg_ctx *out_msg_ctx)
axis2_status_t(* invoke_in_out_business_logic_async )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx, struct axis2_msg_ctx *out_msg_ctx, struct axis2_svr_callback *callback)
axis2_svc_skeleton_t *(* make_new_svc_obj )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *msg_ctx)
axis2_svc_skeleton_t *(* get_impl_obj )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *msg_ctx)
axis2_status_t(* set_scope )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, const axis2_char_t *scope)
axis2_char_t *(* get_scope )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env)
axis2_status_t(* delete_svc_obj )(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx)


Detailed Description

Message Receiver ops struct. Encapsulator struct for ops of axis2_msg_recv


Member Data Documentation

axis2_status_t( * axis2_msg_recv_ops::delete_svc_obj)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx)

Delete the service skeleton object created by make_new_svc_obj

Parameters:
msg_recv pointer to message receiver pointer to environment struct
msg_ctx pointer to message context
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_msg_recv_ops::free_fn)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env)

Deallocate memory

Parameters:
msg_recv pinter to message receiver
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_svc_skeleton_t*( * axis2_msg_recv_ops::get_impl_obj)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *msg_ctx)

This will return the service skeleton object

Parameters:
msg_recv pointer to message receiver
env pointer to environment struct
msg_ctx pointer to message context
Returns:
service skeleton object

axis2_char_t*( * axis2_msg_recv_ops::get_scope)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env)

Get the application scope

Parameters:
msg_recv pointer to message receiver pointer to enviornment struct
Returns:
scope

axis2_status_t( * axis2_msg_recv_ops::invoke_in_business_logic_async)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx, struct axis2_svr_callback *svr_callback)

This contain in only asynchronous business invoke logic

Parameters:
msg_recv pointer to message receiver
env pointer to environment struct
in_msg_ctx pointer to in message context
svr_callback pointer to server callback
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_msg_recv_ops::invoke_in_business_logic_sync)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx)

This contain in only synchronous business invoke logic

Parameters:
msg_recv pointer to message receiver
env pointer to environment struct
in_msg_ctx pointer to in message context
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_msg_recv_ops::invoke_in_out_business_logic_async)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx, struct axis2_msg_ctx *out_msg_ctx, struct axis2_svr_callback *callback)

This contain in out asynchronous business invoke logic

Parameters:
msg_recv pointer to message receiver
env pointer to environment struct
in_msg_ctx pinter to in message context
out_msg_ctx pointer to out message context
callback pointer to callback
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_msg_recv_ops::invoke_in_out_business_logic_sync)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx, struct axis2_msg_ctx *out_msg_ctx)

This contain in out synchronous business invoke logic

Parameters:
msg_recv pointer to message receiver
env pointer to environment struct
in_msg_ctx pointer to in message context
out_msg_ctx pointer to out message context
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_svc_skeleton_t*( * axis2_msg_recv_ops::make_new_svc_obj)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *msg_ctx)

this will create a new service skeleton object

Parameters:
msg_recv pointer to message receiver
env pointer to enviornment struct
msg_ctx pointer to message context
Returns:
service skeleton object

axis2_status_t( * axis2_msg_recv_ops::receive)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx, void *callback_recv_param)

This method is called from axis2_engine_receive method. This method's actual implementation is decided from the create method of the extended message receiver object. There depending on the synchronous or asynchronous type, receive metho is assigned with the synchronous or asynchronous implementation of receive.

See also:
raw_xml_in_out_msg_recv_create method where receive is assigned to receive_sync
Parameters:
msg_recv pointer to message receiver
env pointer to environment struct
in_msg_ctx pointer to in message context
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_msg_recv_ops::receive_async)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx, void *callback_recv_param)

This contain asynchronous receiving logic.

Parameters:
msg_recv pointer to message receiver
env pointer to environment struct
in_msg_ctx pointer to in message
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_msg_recv_ops::receive_sync)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, struct axis2_msg_ctx *in_msg_ctx, void *callback_recv_param)

This contain synchronous receiving logic.

Parameters:
msg_recv pointer to message receiver
env pointer to environment struct
in_msg_ctx pointer to in message context
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_msg_recv_ops::set_scope)(axis2_msg_recv_t *msg_recv, const axis2_env_t *env, const axis2_char_t *scope)

Set the application scope

Parameters:
msg_recv pointer to message receiver
env pointer to environment struct
scope ointer to scope
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE


The documentation for this struct was generated from the following file:
Generated on Tue Oct 3 22:36:10 2006 for Axis2/C by  doxygen 1.4.7