# sandesha2_fault_mgr.h

Go to the documentation of this file.

    00001 /*
    00002  * Copyright 2004,2005 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *      http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    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_seq_property_mgr.h>
    00030 #include <sandesha2_create_seq_mgr.h>
    00031 #include <sandesha2_next_msg_mgr.h>
    00032 #include <sandesha2_fault_data.h>
    00033 #include <axis2_msg_ctx.h>
    00034
    00035
    00036 #ifdef __cplusplus
    00037 extern "C"
    00038 {
    00039 #endif
    00040
    00046 sandesha2_msg_ctx_t* AXIS2_CALL
    00047 sandesha2_fault_mgr_check_for_create_seq_refused(
    00048     const axutil_env_t *env,
    00049     sandesha2_msg_ctx_t *rm_create_seq_msg_ctx,
    00050     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00051
    00052 sandesha2_msg_ctx_t* AXIS2_CALL
    00053 sandesha2_fault_mgr_check_for_last_msg_num_exceeded(
    00054     const axutil_env_t *env,
    00055     sandesha2_msg_ctx_t *app_rm_msg,
    00056     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00057
    00058 sandesha2_msg_ctx_t* AXIS2_CALL
    00059 sandesha2_fault_mgr_check_for_msg_num_rollover(
    00060     const axutil_env_t *env,
    00061     sandesha2_msg_ctx_t *rm_msg_ctx,
    00062     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00063
    00064 sandesha2_msg_ctx_t* AXIS2_CALL
    00065 sandesha2_fault_mgr_check_for_unknown_seq(
    00066     const axutil_env_t *env,
    00067     sandesha2_msg_ctx_t *rm_msg_ctx,
    00068     axis2_char_t *seq_id,
    00069     sandesha2_seq_property_mgr_t *seq_prop_mgr,
    00070     sandesha2_create_seq_mgr_t *create_seq_mgr,
    00071     sandesha2_next_msg_mgr_t *next_msg_mgr);
    00072
    00073 sandesha2_msg_ctx_t* AXIS2_CALL
    00074 sandesha2_fault_mgr_check_for_invalid_ack(
    00075     const axutil_env_t *env,
    00076     sandesha2_msg_ctx_t *ack_rm_msg,
    00077     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00078
    00079 sandesha2_msg_ctx_t* AXIS2_CALL
    00080 sandesha2_fault_mgr_check_for_seq_closed(
    00081     const axutil_env_t *env,
    00082     sandesha2_msg_ctx_t *rm_msg_ctx,
    00083     axis2_char_t *seq_id,
    00084     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00085
    00086 sandesha2_msg_ctx_t* AXIS2_CALL
    00087 sandesha2_fault_mgr_get_fault(
    00088     const axutil_env_t *env,
    00089     sandesha2_msg_ctx_t *rm_msg_ctx,
    00090     sandesha2_fault_data_t *fault_data,
    00091     axis2_char_t *addr_ns_uri,
    00092     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00093
    00095 #ifdef __cplusplus
    00096 }
    00097 #endif
    00098
    00099 #endif /*SANDESHA2_FAULT_MGR_H*/