00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef SANDESHA2_TERMINATER_MGR_H
00018 #define SANDESHA2_TERMINATER_MGR_H
00019
00020
00021
00027 #include <sandesha2_storage_mgr.h>
00028 #include <axis2_conf_ctx.h>
00029 #include <axis2_conf.h>
00030 #include <axiom_soap_envelope.h>
00031 #include <axutil_qname.h>
00032 #include <axutil_array_list.h>
00033 #include <axis2_op.h>
00034 #include <sandesha2_seq_property_bean.h>
00035 #include <sandesha2_msg_ctx.h>
00036 #include <axiom_soap_envelope.h>
00037
00038
00039 #ifdef __cplusplus
00040 extern "C"
00041 {
00042 #endif
00043
00044 struct sandesha2_seq_property_mgr;
00045 struct sandesha2_seq_property_bean_t;
00046
00051 #define SANDESHA2_CLEANED_ON_TERMINATE_MSG "CleanedOnTerminateMsg"
00052 #define SANDESHA2_CLEANED_AFTER_INVOCATION "CleanedAfterInvocation"
00053
00054 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00055 sandesha2_terminate_mgr_clean_recv_side_after_terminate_msg(
00056 const axutil_env_t *env,
00057 axis2_conf_ctx_t *conf_ctx,
00058 axis2_char_t *seq_id,
00059 sandesha2_storage_mgr_t *storage_man);
00060
00061 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00062 sandesha2_terminate_mgr_clean_recv_side_after_invocation(
00063 const axutil_env_t *env,
00064 axis2_conf_ctx_t *conf_ctx,
00065 axis2_char_t *seq_id,
00066 sandesha2_storage_mgr_t *storage_man);
00067
00068 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00069 sandesha2_terminate_mgr_terminate_sending_side(
00070 const axutil_env_t *env,
00071 axis2_conf_ctx_t *conf_ctx,
00072 axis2_char_t *seq_id,
00073 axis2_bool_t svr_side,
00074 sandesha2_storage_mgr_t *storage_man);
00075
00076 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00077 sandesha2_terminate_mgr_do_updates_if_needed(
00078 const axutil_env_t *env,
00079 axis2_char_t *seq_id,
00080 sandesha2_seq_property_bean_t *prop_bean,
00081 struct sandesha2_seq_property_mgr *prop_mgr);
00082
00083 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00084 sandesha2_terminate_mgr_time_out_sending_side_seq(
00085 const axutil_env_t *env,
00086 axis2_conf_ctx_t *conf_ctx,
00087 axis2_char_t *seq_id,
00088 axis2_bool_t svr_side,
00089 sandesha2_storage_mgr_t *storage_man);
00090
00091 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00092 sandesha2_terminate_mgr_add_terminate_seq_msg(
00093 const axutil_env_t *env,
00094 sandesha2_msg_ctx_t *rm_msg_ctx,
00095 axis2_char_t *out_seq_id,
00096 axis2_char_t *int_seq_id,
00097 sandesha2_storage_mgr_t *storage_man);
00098
00099
00101 #ifdef __cplusplus
00102 }
00103 #endif
00104
00105 #endif
00106