00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef SANDESHA2_SEQ_MGR_H
00018 #define SANDESHA2_SEQ_MGR_H
00019
00025 #include <axutil_allocator.h>
00026 #include <axutil_env.h>
00027 #include <axutil_utils_defines.h>
00028 #include <axutil_error.h>
00029 #include <axutil_string.h>
00030 #include <axutil_utils.h>
00031 #include <sandesha2_storage_mgr.h>
00032 #include <sandesha2_msg_ctx.h>
00033
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038
00039 struct sandesha2_seq_property_mgr;
00040 struct sandesha2_next_msg_mgr;
00041
00047 AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00048 sandesha2_seq_mgr_setup_new_seq(
00049 const axutil_env_t *env,
00050 sandesha2_msg_ctx_t *create_seq_msg,
00051 struct sandesha2_seq_property_mgr *seq_prop_mgr,
00052 struct sandesha2_next_msg_mgr *next_msg_mgr);
00053
00059 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00060 sandesha2_seq_mgr_update_last_activated_time(
00061 const axutil_env_t *env,
00062 axis2_char_t *property_key,
00063 struct sandesha2_seq_property_mgr *seq_prop_mgr);
00064
00065 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00066 sandesha2_seq_mgr_has_seq_timedout(
00067 const axutil_env_t *env,
00068 axis2_char_t *property_key,
00069 sandesha2_msg_ctx_t *rm_msg_ctx,
00070 struct sandesha2_seq_property_mgr *seq_prop_mgr,
00071 axis2_conf_ctx_t *conf_ctx);
00072
00073 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00074 sandesha2_seq_mgr_setup_new_client_seq(
00075 const axutil_env_t *env,
00076 axis2_msg_ctx_t *first_app_msg,
00077 axis2_char_t *int_seq_id,
00078 axis2_char_t *spec_version,
00079 struct sandesha2_seq_property_mgr *seq_prop_mgr,
00080 const axis2_bool_t persistent);
00081
00083 #ifdef __cplusplus
00084 }
00085 #endif
00086 #endif