00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef SANDESHA2_FAULT_MGR_H
00018 #define SANDESHA2_FAULT_MGR_H
00019
00025 #include <axutil_utils_defines.h>
00026 #include <axutil_env.h>
00027 #include <axis2_conf_ctx.h>
00028 #include <sandesha2_msg_ctx.h>
00029 #include <sandesha2_storage_mgr.h>
00030 #include <sandesha2_fault_data.h>
00031 #include <axis2_msg_ctx.h>
00032
00033
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038
00044 sandesha2_msg_ctx_t* AXIS2_CALL
00045 sandesha2_fault_mgr_check_for_create_seq_refused(
00046 const axutil_env_t *env,
00047 axis2_msg_ctx_t *create_seq_msg,
00048 sandesha2_storage_mgr_t *storage_man);
00049
00050 sandesha2_msg_ctx_t* AXIS2_CALL
00051 sandesha2_fault_mgr_check_for_last_msg_num_exceeded(
00052 const axutil_env_t *env,
00053 sandesha2_msg_ctx_t *app_rm_msg,
00054 sandesha2_storage_mgr_t *storage_man);
00055
00056 sandesha2_msg_ctx_t* AXIS2_CALL
00057 sandesha2_fault_mgr_check_for_msg_num_rollover(
00058 const axutil_env_t *env,
00059 sandesha2_msg_ctx_t *rm_msg_ctx,
00060 sandesha2_storage_mgr_t *storage_man);
00061
00062 sandesha2_msg_ctx_t* AXIS2_CALL
00063 sandesha2_fault_mgr_check_for_unknown_seq(
00064 const axutil_env_t *env,
00065 sandesha2_msg_ctx_t *rm_msg_ctx,
00066 axis2_char_t *seq_id,
00067 sandesha2_storage_mgr_t *storage_man);
00068
00069 sandesha2_msg_ctx_t* AXIS2_CALL
00070 sandesha2_fault_mgr_check_for_invalid_ack(
00071 const axutil_env_t *env,
00072 sandesha2_msg_ctx_t *ack_rm_msg,
00073 sandesha2_storage_mgr_t *storage_man);
00074
00075 sandesha2_msg_ctx_t* AXIS2_CALL
00076 sandesha2_fault_mgr_check_for_seq_closed(
00077 const axutil_env_t *env,
00078 sandesha2_msg_ctx_t *rm_msg_ctx,
00079 axis2_char_t *seq_id,
00080 sandesha2_storage_mgr_t *storage_man);
00081
00082 sandesha2_msg_ctx_t* AXIS2_CALL
00083 sandesha2_fault_mgr_get_fault(
00084 const axutil_env_t *env,
00085 sandesha2_msg_ctx_t *rm_msg_ctx,
00086 sandesha2_fault_data_t *fault_data,
00087 axis2_char_t *addr_ns_uri,
00088 sandesha2_storage_mgr_t *storage_man);
00089
00091 #ifdef __cplusplus
00092 }
00093 #endif
00094
00095 #endif