sandesha2_ack_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_ACK_MGR_H
00018 #define SANDESHA2_ACK_MGR_H
00019 
00024 #include <axutil_utils_defines.h>
00025 #include <axutil_env.h>
00026 #include <sandesha2_storage_mgr.h>
00027 #include <sandesha2_msg_ctx.h>
00028 
00029 #ifdef __cplusplus
00030 extern "C"
00031 {
00032 #endif
00033 
00034 struct sandesha2_seq_property_mgr;
00040 AXIS2_EXTERN sandesha2_msg_ctx_t *AXIS2_CALL
00041 sandesha2_ack_mgr_generate_ack_msg(const axutil_env_t *env,
00042     sandesha2_msg_ctx_t *ref_rm_msg,
00043     axis2_char_t *seq_id,
00044     sandesha2_storage_mgr_t *storage_mgr);
00045 
00054 AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00055 sandesha2_ack_mgr_get_client_completed_msgs_list(
00056     const axutil_env_t *env,
00057     axis2_char_t *seq_id,
00058     struct sandesha2_seq_property_mgr *seq_prop_mgr);
00059  
00060 AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00061 sandesha2_ack_mgr_get_svr_completed_msgs_list(
00062     const axutil_env_t *env,
00063     axis2_char_t *seq_id,
00064     struct sandesha2_seq_property_mgr *seq_prop_mgr);
00065 
00066 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00067 sandesha2_ack_mgr_verify_seq_completion(
00068     const axutil_env_t *env,
00069     axutil_array_list_t *ack_ranges,
00070     long last_msg_no);
00071 
00072 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00073 sandesha2_ack_mgr_piggyback_acks_if_present(
00074     const axutil_env_t *env,
00075     sandesha2_msg_ctx_t *rm_msg_ctx,
00076     sandesha2_storage_mgr_t *storage_mgr);
00077 
00079 #ifdef __cplusplus
00080 }
00081 #endif
00082 
00083 #endif                          /* SANDESHA2_ACK_MGR_H */
00084 

Generated on Mon Oct 1 17:19:03 2007 for Sandesha2/C by  doxygen 1.5.3