sandesha2_storage_mgr.h File Reference

#include <platforms/axutil_platform_auto_sense.h>
#include <axutil_utils_defines.h>
#include <axutil_env.h>
#include <axiom_soap_envelope.h>
#include <axis2_conf_ctx.h>
#include <axis2_module_desc.h>
#include <sandesha2_transaction.h>

Go to the source code of this file.

Classes

struct  sandesha2_storage_mgr_ops
 Storage Manager ops struct Encapsulator struct for ops of sandesha2_storage_mgr. More...
struct  sandesha2_storage_mgr
typedef struct
sandesha2_storage_mgr 
sandesha2_storage_mgr_t
typedef struct
sandesha2_storage_mgr_ops 
sandesha2_storage_mgr_ops_t
AXIS2_EXTERN
sandesha2_storage_mgr_t * 
sandesha2_storage_mgr_create (const axutil_env_t *env, axis2_conf_ctx_t *conf_ctx)
AXIS2_EXTERN
axis2_status_t 
sandesha2_storage_mgr_free_void_arg (void *storage_mgr, const axutil_env_t *env)
axis2_status_t sandesha2_storage_mgr_free (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *envv)
struct
sandesha2_transaction * 
sandesha2_storage_mgr_get_transaction (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env)
void sandesha2_storage_mgr_enlist_bean (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, struct sandesha2_rm_bean *rm_bean)
struct
sandesha2_create_seq_mgr * 
sandesha2_storage_mgr_get_create_seq_mgr (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env)
struct
sandesha2_next_msg_mgr * 
sandesha2_storage_mgr_get_next_msg_mgr (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env)
struct
sandesha2_sender_mgr * 
sandesha2_storage_mgr_get_retrans_mgr (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env)
struct
sandesha2_seq_property_mgr * 
sandesha2_storage_mgr_get_seq_property_mgr (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env)
struct
sandesha2_invoker_mgr * 
sandesha2_storage_mgr_get_storage_map_mgr (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env)
axis2_status_t sandesha2_storage_mgr_set_ctx (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, axis2_conf_ctx_t *conf_ctx)
axis2_conf_ctx_t * sandesha2_storage_mgr_get_ctx (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env)
axis2_status_t sandesha2_storage_mgr_init (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, axis2_conf_ctx_t *conf_ctx)
axis2_msg_ctx_t * sandesha2_storage_mgr_retrieve_msg_ctx (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, axis2_char_t *key, axis2_conf_ctx_t *conf_ctx, const axis2_bool_t persistent)
axis2_status_t sandesha2_storage_mgr_store_msg_ctx (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, axis2_char_t *key, axis2_msg_ctx_t *msg_ctx)
axis2_status_t sandesha2_storage_mgr_update_msg_ctx (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, axis2_char_t *key, axis2_msg_ctx_t *msg_ctx)
axis2_status_t sandesha2_storage_mgr_remove_msg_ctx (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, axis2_char_t *key)
axis2_status_t sandesha2_storage_mgr_init_storage (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, axis2_module_desc_t *module_desc)
axiom_soap_envelope_t * sandesha2_storage_mgr_retrieve_soap_envelope (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, axis2_char_t *key)
axis2_status_t sandesha2_storage_mgr_store_soap_envelope (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, axiom_soap_envelope_t *soap_env, axis2_char_t *key)
axis2_status_t sandesha2_storage_mgr_store_response (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, axis2_char_t *seq_id, axiom_soap_envelope_t *response, int msg_no, int soap_version)
axiom_soap_envelope_t * sandesha2_storage_mgr_retrieve_response (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, axis2_char_t *seq_id, int msg_no)
axis2_status_t sandesha2_storage_mgr_remove_response (sandesha2_storage_mgr_t *storage_mgr, const axutil_env_t *env, axis2_char_t *seq_id, int msg_no)


Detailed Description


Function Documentation

AXIS2_EXTERN axis2_status_t sandesha2_storage_mgr_free_void_arg ( void *  storage_mgr,
const axutil_env_t *  env 
)

Frees the storage_mgr given as a void pointer. This method would cast the void parameter to an storage_mgr pointer and then call free method.

Parameters:
storage_mgr pointer to storage_mgr as a void pointer
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

struct sandesha2_transaction* sandesha2_storage_mgr_get_transaction ( sandesha2_storage_mgr_t *  storage_mgr,
const axutil_env_t *  env 
) [read]

get a new transaction for use

Parameters:
storage_mgr 
env environment object
Returns:
newly created sandesha2_transaction object

axis2_msg_ctx_t* sandesha2_storage_mgr_retrieve_msg_ctx ( sandesha2_storage_mgr_t *  storage_mgr,
const axutil_env_t *  env,
axis2_char_t *  key,
axis2_conf_ctx_t *  conf_ctx,
const axis2_bool_t  persistent 
)

Retrieve the stored message context.

Parameters:
storage_mgr 
env environment object
key message storage key
conf_ctx configuration context
Returns:
newly created axis2_msg_ctx object.

axis2_status_t sandesha2_storage_mgr_store_msg_ctx ( sandesha2_storage_mgr_t *  storage_mgr,
const axutil_env_t *  env,
axis2_char_t *  key,
axis2_msg_ctx_t *  msg_ctx 
)

Store the application message context. When Sandesha2 handlers receive application messages it will be first stored in inmemory/persistent storage until it is later qualified for sending to the destination

Parameters:
storage_mgr 
env environment object
key message storage key.
msg_ctx message context
Returns:
status of the operation


Generated on Mon Oct 1 17:05:57 2007 for Sandesha2/C by  doxygen 1.5.3